// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}
I compiled it and no errors, but when I build/debug it I get one error. This only happens with GDK Wizard though, nothing like General Blank Project.
I tried searching, but I can't find anything.
Things I've Tried:
1) Uninstalling ALL of vc 2008, uninstalling GDK, Reinstalling all.
2)Tools, Options, Project and solutions, VC++ directories
C:\Program Files (x86)\Microsoft DirectX SDK (August 2007)\Lib\x86
C:\Program Files (x86)\The Game Creators\Dark GDK\Lib\VS9
Then I created the project in C:\Program Files (x86)\The Game Creators\Dark GDK\Lib\VS9.
Always program as if the person maintaining your program is a psychopath that knows where you live