Commando wrote:
> This should work on all systems;

No It SHOULDNT work on ANY system. There may be systems on which it
DOES, but that is a Bad Thing.

> // Shut down the system and force all applications to close.
> ExitWindowsEx(EWX_POWEROFF, 0);

Applications sould NEVER shut down the system itself. It should not be a
matter of courtesy, they souldn't be allowed.

I assumed the orriginal question was asking about just closing the
application itself. That would, of course, be ok.

I know that some brain dead operating systems let any running program do
anything it wants, but that is not good.

What if someone else is using the system at the time (even on windows
they could be editing a shared file)? They could lose all their work.

Ralph Hartley

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to