Hi all,
You've seem to have all forgotten the original message subject
Some of you have seen my PurePLUGIN FrameWORK @ TheGameCreators shop.... and, you'd like to know what it is ?
It need PureBASIC and it seem to allow the creation of DarkBASIC Professional plugin ... but you'd like to know more... True ?
Ok.
I will explain then
PurePLUGIN is born from the work I made with my first DarkBASIC Profesisonal plugin called 'eXtends'. To create that plugin, I did need to find a way to call the DarkBASIC Professional language commands from within my plugin DLL... At the beginning there was a list of Library open, with call every where I did need it ... It wasn't really fast and, did make my code more complex in PureBASIC DLL ...
So, I decided to find a better, more flexible and expandable solution.
It's where the PurePLUGIN embryo born ...
As you imagined, PurePLUGIN is a DarkBASIC Professional plugin creation Framework using PureBASIC ... But you can say me : "it exist many users that did produce help on how to create DarkBASIC Professional TPC Plugin using C, C++, VB, etc ... and for free !!! so, why do you sell PurePLUGIN ?"
And you're right ! but PurePLUGIN is really more complex and powerful than these free works.
I did found a way to create a wrapping system that allow to use near to 99% of all native DarkBASIC Professional commands directly inside your PureBASIC DLL... and now you can say "wow! it's impressive" ... And I think (without being too pretentious), that it's true.
My system actually handle near to 99% of all native DarkBASIC Professional commands easily. All you have to do is to make a copy of the sample DLL to create your own one. Put your USER/PASS in it (in a crypted form to avoid hack). Create your ProcedureCDLL and use text edit to create your resource (it's the way DarkBASIC Professional handle TPC. I will not explain it entirely here ... too long).
In fact, the main interest is that you can easily migrate your source code from DarkBASIC Professional to PureBASIC to make it become entirely integrated in DarkBASIC Professional.
For example, something like this under DarkBASIC Professional :
Code: Select all
Make Object Cube 1, 64
Texture Object 1, 4
Ghost Object On 1
Wait Key
Will simply become this under PurePLUGIN :
Code: Select all
DBMakeObjectCube( 1, 64 )
DBTextureObject( 1, 4 )
DBGhost ObjectOn( 1 )
DBWaitKey()
It's easy as this !!!
More to this, I can easily (using internal tools I keep secret :p) add support for various plugins already available for DarkBASIC Professional. The potential is ... simply .... enormous.
You want to create a command to return for example the sign of a value ?
DarkBASIC Professional source code :
Code: Select all
Function Sign( Value )
Retour = Value / Abs( Value )
EndFunction Retour
PureBASIC / PurePLUGIN Source code in the DLL :
Code: Select all
ProcedureCDLL.l DBSign( Value.l )
Retour.l = Value / Abs( Value )
ProcedureReturn Retour
EndProcedure
And the string table to create the DarkBASIC Professional command:
Code: Select all
1, "Sign[%LL%DBSign%Value As Integer"
With this, you create the DarkBASIC Professional command :
VALUESIGN = Sign( VALUE )
So easy :p
the benefits are also enormous :p
1. Up to 10% speed increase for some programs
2. Keep your procedure secret when you release your DLL (instead of releasing DarkBASIC Professional source code

)
3. Make DarkBASIC Professional become more powerful and support more thing easily.
Here is what PurePLUGIN is and why it is a commercial product
For a final note, I did never talked about PurePLUGIN here because I didn't think it can interest you all that seem to think that DarkBASIC Professional is so bad... Simply take a look at some projects at TheGameCreators, you'll see that DarkBASIC Professional can be really interesting, even for big projects.
I really love PureBASIC for its capabilities (and more precisely DLL creation :p) and I really love DarkBASIC Professional for its simplicity and capabilities
I hope, I've enlightened your lanterns
Bye
Fred
Odyssey-Creators
http://www.odyssey-creators.com