well, when i select darkgdk - game and it creates the basic template, i can compile it without errors
1>------ Build started: Project: Hassan, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>Linking...
1>Embedding manifest...
1>Build log was saved at "file://c:\Documents and Settings\Hass\My Documents\Visual Studio 2008\Projects\Hassan\Hassan\Debug\BuildLog.htm"
1>Hassan - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
but when i start debugging (in release and debug mode) it says : "Unable to run the program : c:\documents and settings\hass\my documents\visual studio 2008\projects\hassan\hassan\debug\hassan.exe"
here's the program (the basic template which starts with DarkGDK - Game)
// 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;
}
and sometimes it says " c:\documents and settings\hass\my documents\visual studio 2008\projects\hassan\hassan\debug\hassan.exe is not a vaild win32 application"