Alas, that also did not do the trick. I added the following line in int _tmain right after DWORD delaySeconds = 30; :

SetThreadExecutionState(ES_DISPLAY_REQUIRED);

Same result: Screen is off after resume from suspend. Must move mouse or press key to see screen.
_________________________
Tony Fabris