DECLs in BlitzMax

BlitzMax Forums/BlitzMax Programming/DECLs in BlitzMax

CASO(Posted 2006) [#1]
I am new to BlitzMax but have been using BlitzPlus for quite a while. I know that BlitzMax is cross-platform compiler but I miss my handy Windows .decl files from BlitzPlus.

My problem in a nutshell is I can't use my external dlls in BlitzMax.

PS: I don't program my own dlls


Dreamora(Posted 2006) [#2]
DECLs don't exist.

But you still can use your old dlls
There are several threads that explain how to extern to DLLs. Doing this to stuff you even have decls isn't much of work, most part of it should even be doable through copy paste :-)


CASO(Posted 2006) [#3]
Where can I find these threads?


skidracer(Posted 2006) [#4]
In regards to windows decls, check out the Extern "win32" blocks of code in the modules source of files such as pub.mod/win32.mod/user32.bmx to see how and what is already defined for use in BlitzMax.


Chris C(Posted 2006) [#5]
theres a brief dll tutorial on my site that might help you


N(Posted 2006) [#6]
http://blitzbasic.com/codearcs/codearcs.php?code=1706