Hello!
I have created a minimal dll following this tutorial:
http://forum.thegamecreators.com/?m=forum_view&t=167112&b=18After completion the files "<name>.dll", "lib<name>.a" and "lib<name>.def" are created - So far so good!
Next I tried to use the library in another project by doing the following:
1. Added "<name>.dll" file to the debug folder of the project that wants to use the dll
2. Added "lib<name>.a" to the projects linker settings (Project's build options... -> linker settings -> add relative path to "lib<name>.a" file)
3. Called a function residing in the library from the project that is using the dll
4. Build project
* Expected result: Function is called
* Actual result: 'Cube' was not declared in this scope
Could someone please enlighten me as to what it is that I am doing wrong?
It is af the library cannot be found, but I have included it and linked to it as I would have any other library.
Thanks in advance!