Original Post
okay, i''ve looked everywhere and i just..can''t..find ANYTHING that covers turning your computer off. the only place i could find was the C++ Docs, and i still couldn''t get it working for the life of me!!! The closest thing i can get is BOOL ExitWindowsEx(EWX_SHUTOFF|EWX_FORCE); and BOOL ForceAppsClosed=TRUE; Can anyone tell me how to turn off the computer while an app is running? or just how to turn the computer off generally? (from a program of course)