Is that your whole source? You have to include DarkGDK.h, and you have to open void DarkGDK() before you call that function. Also you are missing a semi-colon after the command, and I dont think you can have $s in C++.
Try this:
#include "DarkGDK.h"
void DarkGDK()
{
while ( LoopGDK() )
{
dbText( 310, 200, "Hello" );
dbSync();
}
return;
}
Dont forget to use a DarkGDK wizard to make your project. Only time I've had to include "stdafx.h" was when making managed projects (I think).
Your signature has been erased by a mod