Application crashing on sleep

BlitzPlus Forums/BlitzPlus Programming/Application crashing on sleep

AlternativeRealities(Posted 2008) [#1]
I have a screensaver that I've developed in BlitzPlus and everytime the monitors go to sleep the screensaver will crash (xxxx.scr has stopped working). I added the AutoSuspend True command to my application after creating the maxed windows but that didn't help.

I see that blitzMax has a command to check for the app being suspended but it isn't available in B+.

Is there a way to prevent this crash?

It also only seems to occur in Windows Vista (as far as I can tell).

Thanks for any help.