 |
|
 |
Well i didn't know that some one would even want to try a shutdown tool. I had programmed a shutdown tool long ago, but it much more advanced and aesthetic. It repleces the XP shutdown dialog. I will post it with source code in a day or two. It was a old piece of code i programmed on DEV C++ using GCC 2.9.
So if you wnat to shutdown using a programm with added functionality Wach out for Shutdown-GodZilla (my app title);P;P;P
Cheers, Sanjit
|
|
|
|
 |
|
 |
I am looking forward your app.
|
|
|
|
 |
|
 |
When I set the default option to Hibernation and double click the system tray icon, whatever was the default prior to the change will be invoked. IOW if the default was Standby, and I make a change to Hibernation, the double click action will be to enter standby. I've confirmed this with going from a default of Shut down to Hibernation too. Double clicking then will cause a shut down.
If I right click and select Hibernation from the menu, the system will enter Hibernation mode correctly. I just won't enter it as a result of a default action.
|
|
|
|
 |
|
 |
Can tell me how to capture Standby or Hiberation event?
Or let the system can not enter Standby or Hiberation ?
LKK
|
|
|
|
 |
|
 |
yes I'm also looking for event capture thing... please help us.
|
|
|
|
 |
|
 |
Anyone knows how to reboot the system without BIOS POST?
pappu
|
|
|
|
 |
|
 |
When I unzipped this download there does not appear to be any source code with it. Where is the source code?
|
|
|
|
 |
|
 |
JH2003 wrote:
Where is the source code?
I have checked the download and found source files. Your file might be corrupt.Download it again.
|
|
|
|
 |
|
 |
I can't download the source code too.
|
|
|
|
 |
|
 |
How to shutdown a drive ?
Thanx !
Best regards,
-----------------------------
Software is like sex, its better when its free.
Linus torwald
|
|
|
|
 |
|
 |
What about catching a shutdown. When the user shuts down, restarts, logs off, etc. how can you intercept it and stop it? I wan't to write a program that runs some programs before shutting down, etc. since there do not seem to be any good ones out there.
thanks
|
|
|
|
 |
|
 |
Handle WM_QUERYENDSESSION.
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
 |
|
 |
You need to handle the WM_QUERYENDSESSION message as Ravi pointed out but if the system is forced down then you won't get the WM_QUERYENDSESSION message so you mightn't have a chance at all.
Regards,
Brian Dela
|
|
|
|
 |
|
 |
first test all codes on the internet.then you will try to write shutdown.
|
|
|
|
 |
|
 |
If I have an app that is running a long process, but shuts itself down when that process is complete, how can I detect the shutdown with another app?
I do not have access to the source of the first app, so I cannot change the way it behaves, but I'd like to trigger something when that app has completed and shutdown. This second app is written by me so I can do what I like in that
Paresh Solanki
hombre que trabaja pierde tempo precioso "The man who works is losing precious time." Vuemme
|
|
|
|
 |
|
 |
Exwecute the other application with CreateProcess, then you can check if the process is still running..
Other is check all the process in your pc, using the psapi.dll.... Whit that way you can check if the application is running...
Best Reagards
Carlos Antollini.
www.wanakostudios.com
Sonork ID 100.10529 cantollini
|
|
|
|
 |
|
 |
Hi, I am not able to compile the source code, I am getting linker error... "cannot open include file 'atlres.h'."... Can you please help me... from where I will get that source file. Thanks in advance. Regards, Hitu
|
|
|
|
 |
|
 |
I have exactly the same problem..... No answers?
James
|
|
|
|
 |
|
 |
rickYou need to have WTL installed.
|
|
|
|
 |
|
 |
It would be very well if the program included "Lock Workstation" support. In Windows XP you can simply press "Win"+L to lock the workstation and in Windows 2000 / NT this feature is absent, but locking a workstation is a much more frequent action - so it should be present in the menu of this program to my mind.
In fact I don't see much use of frequent shutdown/restart/logoff, but locking PC with a double-click or a hotkey is desirable. Thanks.
(C) Vitaly A. Genkin
|
|
|
|
 |
|
 |
Uhm, how do you mean "absent in NT/2000"? What about Ctrl+Alt+Del, then Space? I am sure you'll be a lot faster to do that, than to click an icon somewhere on the screen. Just as an idea ...
|
|
|
|
 |
|
 |
... as a checkbox of its own tells me that no matter what I do (even if I just want to log off) it forces a system shutdown? Is this really the intended semantics of that checkbox?
|
|
|
|
 |
|
 |
"Forces processes to terminate. When this flag is set, Windows does not send the messages WM_QUERYENDSESSION and WM_ENDSESSION to the applications currently running in the system. This can cause the applications to lose data." -MSDN
When you shutdown , logoff or do anything like that, windows askes active programs to close and save the data. When you use the force parameter, it won't do this.
|
|
|
|
 |
|
 |
>When you shutdown , logoff or do anything like that, windows askes >active programs to close and save the data. When you use the force >parameter, it won't do this
is there anyway to close programs and data automatically? ... I mean, for exemple extend this utility to shutdown but closing and saving data before doing that? ...
thanks,
aaron
|
|
|
|
 |
|
 |
Just uncheck the Force system shutdown button. It wiil close all progams and save data before shutting down. Otherwise it will close all programs but doesn't save data.
|
|
|
|
 |