I'm currently utilizing the ExitWindowsEx API to try to shutdown windows.

It works just fine on my NT box and on a Win98 box, but when I try it on my WinME box, it just kills explorer and goes to a black screen with a cursor blinking in the upperleft corner.

I've tried the various choices..Shutdown, PowerOff, Force-On/Off...It all leads to the same result.

Any thoughts

Thanks.
QuaffAPint