How to create GUI library ?

Blitz3D Forums/Blitz3D Userlibs/How to create GUI library ?

Gerard(Posted 2008) [#1]
Hello !

Having bought BLITZ3D some years ago, I would like to add it a GUI library and for it, I downloaded on the site : "http://www.blitzbasic.com/toolbox/toolbox.php?cat=14"
these two GUI : "BCF" and "NGUI". I thus have their sources in two specific directories and every time I use them, I have to clarify several times their complete path, otherwise I have diagnoses " function not found "...
My question is thus : how to make once for all a library (DLL ? ) that I would just have to put in INCLUDE at the beginning of my programs, like : "INCLUDE NGUI.dll" or "INCLUDE BCF.dll"?
I found nothing about this in the manual book.
Thank you in advance for any answer!
Cordially
Gfil


Mortiis(Posted 2008) [#2]
You need to write a wrapper for that dll, a decls file then put both dll and decls file to Blitz3D\userlibs folder. This will be an extension to Blitz3D so you can use those commands natively as it's Blitz3D's own commands.

More detail here;
http://www.blitzbasic.com/sdkspecs/sdkspecs/userlibs_specs.txt


markcw(Posted 2008) [#3]
Put the .decls file and .dll in your userlibs folder.


Gerard(Posted 2008) [#4]
Hello !
thanks for answer :)
I'll try to make these DLL !

Gfil.