Creating DLLs with BlitzMax

BlitzMax Forums/BlitzMax Programming/Creating DLLs with BlitzMax

ChristianK(Posted 2006) [#1]
Is it possible to compile DLLs with BlitzMax?
In MinGW i found a tool called 'atodll', but i
don't know how i can use it.


Pantheon(Posted 2006) [#2]
I havent heard anything about it. I doubt its possible because there is no way to specify what functions to export, ect.

Its no use to me but I still think it would be cool I it were possible.


Dreamora(Posted 2006) [#3]
Yes it is possible.
Testwise the needed functionality is in.
But you need to write the .DEF file manually. This file flags the "exports".

There is a thread on how this actually has to be done.


AntonyWells(Posted 2006) [#4]
You can as of the latest version. You need to use bmk with the argument "makelib" before your source. I've tried it and the produced dlls work fine in C++ etc. provided you get the calling convention right.