Creating .dll files

BlitzMax Forums/BlitzMax Programming/Creating .dll files

Can BlitzMax create Windows .dll files?

not directly.. no. That being said, there are some similar files produced in the compilation process which may be able to be hacked together to being a .dll. I've looked into it a bit, but haven't found anything but a *lot* of documentation I need to catch up on regarding GNU binary utilities.. So I'll get back to you ;) I think this is sort of unchartered waters for the blitzmax community.. although Drago has shown some interest in trying to make it happen. (although again I don't think much tangible progress has been made.. just ideas to test)

That being said.. if anyone HAS made any progress, please share! :)

I had a go with this but couldn't figure it out...

http://www12.canvas.ne.jp/peters/colin/win32/dll/make.html

Ah...it's too bad BlitzMax can't create .dll files. I was hoping to use BlitzMax to program the 3Impact engine, but it requires your game code to be output as a .dll file, which the engine then calls from within its own main loop.

But thanks for the info. :)

theoretically it shouldn't be a problem, should it ...
I mean we have the object files ... isn't it possible to instruct the compiler to link them to a DLL?

I don't understand enough of gcc so just an idea ...
don't know if the compiler already needs to flatten the path to dll ...

Dreamora: That was my plan... I'm not much of a C/C++, low-level, gcc-fiddling kind of guy, though.

This may help: http://sig9.com/node/35

Of course, it would have to be developed a bit more for use with BlitzMax.

Russell