Protected Include
BlitzMax Forums/BlitzMax Beginners Area/Protected Include
| ||
I'm considering releasing a library of BlitzMax code which makes creating RPGs easy... I intend on releasing the library for free, however I don't want to give out the source for free. How could I give the user the library without giving him the source? |
| ||
Make it into a pre-compiled module, which doesn't include the source code. |
| ||
Where's documentation on that? Oh and it uses, types, variables and functions. |
| ||
About building modules? There's a nice tutorial here. Once you have that working, take a copy of it, remove the source, and you have yourself a module without source. (As far as I know, there isn't a shorthand way of getting a module into that state - unless that's what zap mod is for??? - Anyone know any better?) |
| ||
I followed the tutorial exactly and I got this error:Compile Error: Identifier 'TList' not found btw, I'm making my own module, not his. |
| ||
It suggests your module is importing BRL modules but not BRL.LINKEDLIST. What do you have for your Import statements? |
| ||
ah... I found what i needed... Edit: How do you distribute modules? |
| ||
Make a zip of the mod folder. there's also a zap utility (wich is a command line utility from the blitzmax engine) that creates a sort of zip of your module. Most poeple doesn't use it, but there it is. In would recommend you to create just a zip or a rar of your mymodule.mod folder once the source code is removed but the rest of compiled information is left there. |