I'm trying to get a legacy VB6/C++ application to work on Windows 7. The application can't handle "Windows 7 Sleep"; if Windows 7 is put to sleep and is woken up again then the application stops working.
I would be home free if I could close the application when Windows 7 goes to sleep and re-launch the application when Windows 7 is woken up again. (I don't need to store any state between application runs). Is there a way to do this?