Hi,

I have a program which at the end of its execution shuts down the computer.

I have used ExitWindowsEx fine with Win 98 but with NT it doesn't work...
the help says you have to dive into changing privileges, and Access Tokens,
and somehow LUIDs come into it... though I don't know why.

I have had a bit of play with it and haven't got it working... just
wondering if anyone might have a code snippet that works before I spend
hours trying to figure it all out.

Any info appreciated.

Regards

Colin Fraser
Hill Laboratories
Hamilton
New Zealand

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to