hi,
I added SC_Start(); after realizing I that sparky's dll won't work without it.
But when I compiled, I get these errors:
1>e:\dark gdk - game1\dark gdk - game1\main.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\dark gdk - game1\dark gdk - game1\main.cpp(4) : error C2556: 'int SC_Start(void)' : overloaded function differs only by return type from 'void SC_Start(void)'
1> c:\program files (x86)\the game creators\dark gdk\include\sc_collision.h(3) : see declaration of 'SC_Start'
1>e:\dark gdk - game1\dark gdk - game1\main.cpp(4) : error C2371: 'SC_Start' : redefinition; different basic types
1> c:\program files (x86)\the game creators\dark gdk\include\sc_collision.h(3) : see declaration of 'SC_Start'
I'm using the latest version of Sparky's GDK dll (2.05c).
If I take out SC_Start(); then it compiles fine and only brings up an error when I run the program and it hits a SC_... command.
Any ideas? I've used sparky's dll before in darkbasic pro but never in GDK.
Thanks,
Mike