>Hi!!
>
>I trying use the function ExitWindowsEx to reboot or Halt system but don`t work, only work for the logout, the function use for the logout of the system is =ExitWindowsEx (0,0), but reboot ExitWindowsEx (2,0), or Halt ExitWindowsEx(1,0) nothing happend, please somebody can tell why don't work this.
See FAQ #8009