Hi,
this is probably are really 'noob' question but anyway:
// 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;
}
The above program should open an empty black screen but it comes up with error message:
fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Its the first time ive used this but i've installed the august 2007 sdk, visual studio and the Dark GDK so i dont see what's going wrong.
So , if you know what's happening, please let me know!