Autor Beitrag
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mi 07.08.02 10:01 
Hi!

Wie kann ich das fertig bringen?

Danke!
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mi 07.08.02 12:19 
guck mal in der Win32-Hilfe unter ExitWindowsEx. Diese Funkttion erwartet 2 Parameter. Dem ersten kannste EWX_Shutdown (oder EWX_LOGOFF, EWX_REBOOT) übergeben. Dem zweiten 0. Dann dürfte das funktionieren. Außer du verwendest Windows NT. Da musst du dir erst mal die "Privileges" holen.

_________________
Viele Grüße
Jakob