InterviewSolution
 Saved Bookmarks
    				| 1. | 
                                    Solve : Sampel source codes of restarting system? | 
                            
| 
                                   
Answer»  I would like to have a program which will restart any specified cycles of the system. It would be a GUI one and its INTERFACE is simple:  I would like to have a program which will restart any specified cycles of the system. Are you refering to Services in Windows that you WANT to Start, Stop, Cycle (Restart)?I don't understand what you want to do. What kind of cycle do you want to restart? Is this a PC or a washing machine?Its' surely a PC.There is simple code to reset the computer. But this is done only in real mode. Old 16 bit DOS programs would do that. In 32 bit programming you just don't do that. Thee is a prover way to shutdown or restart the system. Anything else is considered a "hack" and is not recommended. Please read this. Then come BACK and restate your objective. http://msdn.microsoft.com/en-us/library/windows/desktop/aa373680%28v=vs.85%29.aspx Hope this is some help.  | 
                            |