Can I use DLL libraries inside my projects ? If so how do I do that ?
I am eventually thinking of making custom functions in C++ and make them as DLL and call them from GML.
Remember I was talking that I wanted to write a custom library to handle individual external resources files where I can store encrypted levels, sounds, video, etc. etc. etc. I could do that as scripts inside LGM, but I want to do those in C++ and create a DLL from it, and call the functions from GML.
Example function
Sound1=ExtResource("Sounds.res","intro.wav");
This would call the function I made in C++ which will handle all this automatically (calling an embedded index file in the res file and extract the right file).
If this can be done could someone guide me with a very simple example?
Thanks.
ALSO if I use this method, according to the current license, do I also have to provide the source code for the DLL/ C++ ? or it is not necessary, only have to provide the EGM file ?
|