Ideally, you should provide your code.
Anyway, here is what I would do:
// 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 );
dbLoadImage("one.bmp",1);
dbLoadImage("two.bmp",2);
dbLoadImage("three.bmp",3);
dbLoadImage("Sprite.bmp",4);
dbSprite(1,0,0,1);
dbHideSprite(1);
// our main loop
while ( LoopGDK ( ) )
{
if(dbScanCode()!=0){
dbShowSprite(1);
dbSprite(1,0,0,dbScanCode ( )-1);
}
// update the screen
dbSync ( );
}
// return back to windows
return;
}
Just be sure that when you debug that the bmps are in the same folder as the main.cpp, and when you run the .exe file manually, be sure that the bmps are in the same folder as the .exe.