Application Hangs when computer sleeps

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've written an application using C# 2.0 for the .NET Framework 2.0.
Everything works fine, but if a laptop running the application hybernates
while a background thread is running the application will hang. Is there a
way to disover when the computer is going to hybernate so I can suspend all
of my background threads?
 
| I've written an application using C# 2.0 for the .NET Framework 2.0.
| Everything works fine, but if a laptop running the application hybernates
| while a background thread is running the application will hang. Is there
a
| way to disover when the computer is going to hybernate so I can suspend
all
| of my background threads?

Your threads should restart when the system comes-up again, there must be
something else going on, what kind of application is this?.

Willy.
 
Back
Top