DLL support

BlitzMax Forums/BlitzMax Programming/DLL support

What's that I see in the latest syncmods - DLLMain().

Are we getting DLL support sometime soon?

In what mod?

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?


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.

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.

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 :)

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.

What's wrong with C++ for DLL creation?

Not every one knows C++ that well.