Modules..

BlitzMax Forums/BlitzMax Programming/Modules..

1. Create a module server folder (like pub.mod, brl.mod etc), lets say test.mod
2. create the module folder (lets say 3dwrap.mod) within that folder
3. create a bmx file named 3dwrap.bmx which has the line module test.3dwrap at the top

4. write the code. If you want to wrap you will need to use extern to use the functionality of a DLL / C / CPP

To build the module you simply need to use build modules (which means that you need to have mingw installed and set the environment variables as described by MarkSilby in the thread on this topic)