Creating .dll files

BlitzMax Forums/BlitzMax Programming/Creating .dll files

ahobbit(Posted 2005) [#1]
Can BlitzMax create Windows .dll files?


SurreaL(Posted 2005) [#2]
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! :)


BlitzSupport(Posted 2005) [#3]
I had a go with this but couldn't figure it out...

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


ahobbit(Posted 2005) [#4]
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. :)


Dreamora(Posted 2005) [#5]
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 ...


BlitzSupport(Posted 2005) [#6]
Dreamora: That was my plan... I'm not much of a C/C++, low-level, gcc-fiddling kind of guy, though.


Russell(Posted 2005) [#7]
This may help: http://sig9.com/node/35

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

Russell