Board index » delphi » Shutdown Win95 from Delphi 1.0?

Shutdown Win95 from Delphi 1.0?

Is it possible to write a Delphi program which correctly logs
a user out of Win95? I want to have the program initiate the
actions corresponding to the Shutdown|Close all programs and
log on as a different user actions from the Taskbar. I am
currently using Delph 1.0, but would be glad to use the excuse
to upgrade.

Thanks in advance,

tad

p.s. Do the new components in Delphi 2.0 work with the 16-bit
     compiler included in 2.0?

 

Re:Shutdown Win95 from Delphi 1.0?


Bad news...you don't need to upgrade for this...

{Restart Windows:}
ExitWindows($42,0);

{Exit Windows:}
ExitWindows(0,0);
Zane Rathwick
Za...@aol.com

Other Threads