I have a program in C++ that runs as a service and when I put the computer to sleep and then resume it again, the service crashes because I must reinitialize some pointer to spe