Click here to Skip to main content
       

C / C++ / MFC

 
QuestionRe: Line number Add-in PinmemberMaximilien13-Feb-13 9:14 
SuggestionRe: Line number Add-in PinmemberAlbert Holguin13-Feb-13 9:59 
AnswerRe: Line number Add-in Pinmemberjschell13-Feb-13 11:12 
QuestionCombine two windows PinmemberKrishnakumartg13-Feb-13 6:16 
AnswerRe: Combine two windows Pinmemberprabhjot.cgc13-Feb-13 18:29 
Questionc PinmemberMember 983250613-Feb-13 3:39 
AnswerRe: c PinmemberOrjan Westin13-Feb-13 3:49 
AnswerRe: c PinmemberMatthew Faithfull13-Feb-13 3:51 
Basically two ways to do this that I know of:
 
1. Make a call from your C code to the Operating System API for shutdown. Which API call, what permissions you need and what options you have depends on the Operating System.
 
2. Break out the books and learn to make ACPI BIOS calls, probably more assembler than C. This will do it fast and sure but you may corrupt your OS and will certianly loose any unsaved data if you go this way.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

AnswerRe: c PinmvpRichard MacCutchan13-Feb-13 4:22 
QuestionRibbon To existing MFC Application Pinmemberyogeshs12-Feb-13 20:53 
AnswerRe: Ribbon To existing MFC Application PinmvpRichard MacCutchan12-Feb-13 23:17 
QuestionCAsyncSocket exception PinmemberForNow12-Feb-13 20:47 
AnswerRe: CAsyncSocket exception PinmemberOrjan Westin13-Feb-13 0:04 
GeneralRe: CAsyncSocket exception PinmemberForNow13-Feb-13 7:10 
Questiondisabele right click popup menu in win32 browser control Pinmembervenkatesh5286712-Feb-13 20:30 
AnswerRe: disabele right click popup menu in win32 browser control Pingroup_AnsHUMAN_ 13-Feb-13 3:35 
GeneralRe: disabele right click popup menu in win32 browser control Pinmembervenkatesh5286713-Feb-13 4:41 
AnswerRe: disabele right click popup menu in win32 browser control PinmemberStephen Hewitt13-Feb-13 22:49 
QuestionHow to retain row color while highlighting in Clist control PinmemberHareeshaK12-Feb-13 17:33 
AnswerRe: How to retain row color while highlighting in Clist control PinmemberJochen Arndt12-Feb-13 23:48 
Questionx86 build Pinmemberjohn563212-Feb-13 4:56 
QuestionRe: x86 build PinmemberDavidCrow12-Feb-13 5:49 
AnswerRe: x86 build PinmemberAlbert Holguin12-Feb-13 6:27 
QuestionSetupDiEnumDeviceInterfaces not Working. Pinmemberyogeshs11-Feb-13 22:49 
AnswerRe: SetupDiEnumDeviceInterfaces not Working. Pinmemberyogeshs11-Feb-13 23:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid