From: spamme9@gmail.com   
      
   Steve Gerrard wrote:   
   > "mike" wrote in message news:zZaMi.997$P06   
   330@trnddc05...   
   >   
   >> Is there something I can do in VB6/Windows API to fix this?   
   >> I'm willing to cheat if I can get an event when the system comes out of   
   >> hibernation.   
   >   
   > I don't know if an event will help you fix this awkward problem, but I can   
   tell   
   > you a simple way to get the event.   
   > There is a control called Microsoft SysInfo Control 6.0, which you can add in   
   > Project, Components.   
   >   
   > This control has a number of system events, including   
   >   
   > Private Sub SysInfo1_PowerQuerySuspend(Cancel As Boolean)   
   > End Sub   
   >   
   > Private Sub SysInfo1_PowerResume()   
   > End Sub   
   >   
   > Private Sub SysInfo1_PowerSuspend()   
   > End Sub   
   >   
   > You could try something like pausing the mp3 in the Suspend event, and   
   starting   
   > it again in the Resume event.   
   >   
   >   
   Thanks for the tip.   
   It doesn't work, but I may not have done it right.   
   Normal debugging methods don't work when the system is shutting down.   
   Gotta go build a different system to debug it and learn a lot more about   
   what happens during shutdown/hibernate.   
      
   I have learned one thing. The program doesn't lock up when suspended,   
   but does when hibernated. I think my program is working, but the codec   
   is not doing it's thing. Why moving the mouse fixes it...???   
      
   Thanks, mike   
      
   --   
   Return address is VALID!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|