When I try and run this code:
#include "darkGDK.h"
void DarkGDK(void)
{
dbSyncOn();
dbSyncRate(60);
dbDisableEscapeKey();
dbSetImageColorKey(255, 0, 255);
dbLoadImage("colorkeycat.bmp", 1);
dbSprite(1,100,50,1);
while (LoopGDK())
{
if(dbEscapeKey() == 1)
{
break;
}
dbSync();
}
dbDeleteImage(1);
dbDeleteSprite(1);
return;
}
I get a black screen. I'm running Windows XP Professional SP3 desktop with an old ATI Radeon 9800 graphics card. I took it from a YouTube tutorial, and on the tutorial maker's computer, it worked just fine. The Visual C++ 2008 Express install crashed halfway, but it finished after a restart. I updated my graphics drivers and restarted, and I also installed the November 2008 update, but didn't know where to put the October 2010 update. If any of this information looks wrong, please tell me.