DLL support

BlitzMax Forums/BlitzMax Programming/DLL support

Brendane(Posted 2006) [#1]
What's that I see in the latest syncmods - DLLMain().

Are we getting DLL support sometime soon?


Azathoth(Posted 2006) [#2]
In what mod?


splinux(Posted 2006) [#3]
BlitzMax has dll creation support.
Have a look here:
http://www.blitzmax.com/Community/posts.php?topic=50045#556587

However two things:
1)it's not official
2)blitzresearch license doesn't allow anyone to make dlls, libs, ..

PS: to blitzresearch: wouldn't be possible to make personal-only usage dlls?


Yan(Posted 2006) [#4]

Are we getting DLL support sometime soon?

BRL.Blitz ModInfo : -
History 1.13 Release
History Added LibStartUp stub
History 1.12 Release
History Added GCSuspend and GCResume
History 1.11 Release
History Added experimental dll support

Looks like that's a yes.


popcade(Posted 2006) [#5]
However it's not premitted/formalized yet, once it's got official, it may come with IDE options.

Technically it seems BRL just want to simplify things, which make BlitzMax produces "executable" and "mod" only.


Brendane(Posted 2006) [#6]
Well I don't see a reason why it can't be permitted. If someone wanted to put a DLL wrapper together with a bunch of exposed max features they could just as easily give away their copy of Blitzmax. So... come on, let's have it :)


splinux(Posted 2006) [#7]
Have a look at this piece of text(taken from the blitzresearch bmax license):

You may
not distribute static or dynamic library files based in
whole or in part on this source code



"You may not DISTRIBUTE", which implyies that you can build how many dlls you would want, only you'll not be able to distribute them.


TartanTangerine (was Indiepath)(Posted 2006) [#8]
What's wrong with C++ for DLL creation?


Azathoth(Posted 2006) [#9]
Not every one knows C++ that well.