Solved

How to reboot windows 95/98 from a program?

Posted on 2000-05-17
1
217 Views
Last Modified: 2013-11-20
Hi...

I need to reboot windows from a program in Visual C++... how can I do it?

Thanks in advance
Demarcy
0
Comment
Question by:demarcy
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 2819388
::ExitWindowsEx(EWX_REBOOT, 0);
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centeredAverage challenge 8 179
either24  challenge 19 101
ASP.NET C# MessageBox.Show Showing a modal dialog box or form when the application ... 2 163
wordcount challenge 11 132
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question