hello. i have been able to create .lib files and .dll files that use just the core c++ language, and reference them fine. as soon as i bring darkgdk into the mix, it all falls apart. here are the methods i have tried to make this work:
1: create a basic darkgdk game using a wizard, then change the output type to .lib/.dll, as well as the various other settings
problem: the including file has no problems, the library files cannot seem to find any darkgdk functions
2: create a .lib using the many tutorials on the internet, then change the ignored libraries to that of a darkgdk file.
problems: very low level libraries become unresolved, no combination of ignored libraries fixes the problem.
3: create an empty project, add a .h and .cpp, then copy all properties from a working darkgdk file (sans output type).
problems: the main darkgdk function needs to be defined, an as this is not an application, defining it would override any definition in the including code.
what do i do? i have completely run out of ideas!
-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
http://www.lionsbloodstudios.justinman.net/index.htm