PC Review


Reply
Thread Tools Rate Thread

How to block the system standby process?

 
 
jianglinchun
Guest
Posts: n/a
 
      15th Dec 2006
hi all:

I am currently developing a IM client. The client should send a logoff
message to the IM server while the windows system stand by. And the client
should auto reconnect to server once the system restored.

I know that there has a windows message tell the windows form that the
system is gona to standby.I can get the windows message but I want to make
sure that my code will be excuted once the system gona to shutdown. Notice:
the logoff process is asynchronous.

So I had the following choice:
1. I can block the standby process and wait until the logoff signal. But
we must make sure there gona have a time out.
2. I should try another method.

So what's your suggestions? Thank you in advance.

And by the way. How to block the standby proccess?

jianglinchun
http://www.fetion.com.cn


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific permitions? Daniel Microsoft Windows 2000 Networking 1 13th Apr 2006 08:58 AM
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific permitions? Daniel Microsoft Dot NET Framework 1 13th Apr 2006 04:56 AM
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific permitions? Daniel Microsoft Windows 2000 Security 0 12th Apr 2006 11:47 PM
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific permitions? Daniel Microsoft C# .NET 0 12th Apr 2006 11:47 PM
Xp Standby System process at 99% Don Windows XP Performance 0 28th Sep 2004 10:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:16 AM.