• Advertisement


This topic is now archived and is closed to further replies.

Need direction: How do u shutoff.....

This topic is 5924 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Supz all. I''m trying to make a small program(Using VC++ 6.0) that''ll make the computer shutoff on a specific time of the day. I already know how to check the current time ( easy part) but what exactly is the code to make the p.c. shutoff ( no standby mode or anything like that, i mean physically turned off)? I''ve searched the MSDN but couldn''t find any ( although it shows how to make a Systemshutdown event handler, but it''s using MFC..I don''t know MFC yet-_-).

Share this post

Link to post
Share on other sites

  • Advertisement