Creating DLLs with BlitzMax
BlitzMax Forums/BlitzMax Programming/Creating DLLs with BlitzMax
| ||
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. |
| ||
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. |
| ||
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. |
| ||
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. |