J
Josu Zamarripa
How can i close my shell applicaction and close (or restart ) the sistem
too?
When i only close my aplication, it always re-starts.
Now I'm trying calling ExitWindowsEx( EWX_SHUTDOWN, 0) and ExitWindowsEx(
EWX_REBOOT, 0) in my applicaction and capturing WM_QUERYENDSESSION message,
but i get access violation adress at ntdll.dll
It works with Xp prof .
Any idea please?
I'm using Delphi.
too?
When i only close my aplication, it always re-starts.
Now I'm trying calling ExitWindowsEx( EWX_SHUTDOWN, 0) and ExitWindowsEx(
EWX_REBOOT, 0) in my applicaction and capturing WM_QUERYENDSESSION message,
but i get access violation adress at ntdll.dll
It works with Xp prof .
Any idea please?
I'm using Delphi.