Hiya all,
I am new to GDK and I am impress with GDK. I wish the document would improve abit like putting example code as that would be 10 / 10 but so far..I have to say 9 / 10.
I trying to get hello world picture on the screen and can anyone tell me what I am doing wrong and what is the correct code to make it work.
// whenever using Dark GDK you must include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
dbSyncOn ( );
// now we're going to set the maximum amount of times per second
// that the program can update the screen, we set this to a
// value of 60 meaning this program will run at a potential
// frame rate of 60 frames per second
dbSyncRate ( 60 );
dbLoadBitmap ("Helloworld.png",1)
while ( LoopGDK ( ) )
{
// the final call in our main loop is to dbSync, this function will
// update the screen and draw any graphics
dbSync ( );
dbFlipBitmap ( 1 )
}
// return back to windows
return;
}
Cheers