You could check the flags sent to ProcessNextFrame.. If (dwFlags & GDAPP_FRAMETIMEOVERFLOW) this indicates that you are trying to push the little Pocket PC beyond it's limits...
You could do:
if (dwFlags & GDAPP_FRAMETIMEOVERFLOW)
{
Sleep(0);
}
I thought this wasn't an issue anymore since GapiDraw now uses a single-threaded model.. Appearantly it is. Thanks for notifying me, I'll add a Sleep(0) to CGapiApplication if it cannot keep up with the target number of FPS in the next release (2.10).
//Johan