I did, and i can't find it....
[edit] Woops, I have been using the wrong key..... It still gives me the same error!!!
Even when I do this-
// 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"
#include "KeyID's.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 );
dbMakeObjectBox ( 1, 10, 10, 10 );
dbPositionObject ( 1, 0.0f, 0.0f, 10.0f );
bool Test=true;
// our main loop
while ( LoopGDK ( ) )
{
dbControlCameraUsingArrowKeys ( 0, 1.0f, 1.0f );
if ( Test==true)
{
dbGetImage (2, 0, 0, dbScreenWidth(), dbScreenHeight(),1 );
dbSaveImage ( "test.bmp", 2, 0 );
dbDeleteImage (2 );
Test=false;
}
// update the screen
dbSync ( );
}
// return back to windows
return;
}
which makes it so that it doesn't over load- I still get this-
Unhandled exception at 0x00fccaff in PICTURE.exe: 0xC0000005: Access violation reading location 0x00000000.
I don't know why!!!
From what everyone has said, it should work.
Your signature has been erased by a mod - 120 high maximum please