• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Reboot source code with Visual C++ 6

I need to write a 'cold boot' program
with Visual C++ 6. Pls help.
0
hlkhoo
Asked:
hlkhoo
  • 2
  • 2
1 Solution
 
jhanceCommented:
Use the ExitWindowsEx() API function on Win9x and the InitiateSystemShutdown() function on NT.
0
 
hlkhooAuthor Commented:
I believe your question will solved my problem but I would
of much appreciate it if you could elaborate some pseudo
code on the reboot funciton which you mentioned in your earlier
mail. (I'm a novice in VC++). Thanks in advance.
0
 
jhanceCommented:
Did you check the Windows SDK documentation?  It has examples of using these functions.
0
 
hlkhooAuthor Commented:
You're right. Thanks pal.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now