Click here to Skip to main content
15,892,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading a comma delimited file to array Pin
Richard MacCutchan14-Feb-13 5:14
mveRichard MacCutchan14-Feb-13 5:14 
GeneralRe: Reading a comma delimited file to array Pin
Jeffrey Webster14-Feb-13 9:23
Jeffrey Webster14-Feb-13 9:23 
GeneralRe: Reading a comma delimited file to array Pin
David Crow14-Feb-13 5:14
David Crow14-Feb-13 5:14 
QuestionImplementing of Interruption Pin
mohammad torabi13-Feb-13 10:14
mohammad torabi13-Feb-13 10:14 
AnswerRe: Implementing of Interruption Pin
Albert Holguin13-Feb-13 11:49
professionalAlbert Holguin13-Feb-13 11:49 
AnswerRe: Implementing of Interruption Pin
Stefan_Lang15-Feb-13 3:39
Stefan_Lang15-Feb-13 3:39 
AnswerRe: Implementing of Interruption Pin
Shaheed Legion26-Feb-13 5:33
Shaheed Legion26-Feb-13 5:33 
QuestionLine number Add-in Pin
Krishnakumartg13-Feb-13 5:20
Krishnakumartg13-Feb-13 5:20 
QuestionRe: Line number Add-in Pin
Maximilien13-Feb-13 8:14
Maximilien13-Feb-13 8:14 
SuggestionRe: Line number Add-in Pin
Albert Holguin13-Feb-13 8:59
professionalAlbert Holguin13-Feb-13 8:59 
AnswerRe: Line number Add-in Pin
jschell13-Feb-13 10:12
jschell13-Feb-13 10:12 
QuestionCombine two windows Pin
Krishnakumartg13-Feb-13 5:16
Krishnakumartg13-Feb-13 5:16 
AnswerRe: Combine two windows Pin
prabhjot.cgc13-Feb-13 17:29
prabhjot.cgc13-Feb-13 17:29 
Questionc Pin
Member 983250613-Feb-13 2:39
Member 983250613-Feb-13 2:39 
AnswerRe: c Pin
Orjan Westin13-Feb-13 2:49
professionalOrjan Westin13-Feb-13 2:49 
AnswerRe: c Pin
Matthew Faithfull13-Feb-13 2:51
Matthew Faithfull13-Feb-13 2: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 Pin
Richard MacCutchan13-Feb-13 3:22
mveRichard MacCutchan13-Feb-13 3:22 
QuestionRibbon To existing MFC Application Pin
002comp12-Feb-13 19:53
002comp12-Feb-13 19:53 
AnswerRe: Ribbon To existing MFC Application Pin
Richard MacCutchan12-Feb-13 22:17
mveRichard MacCutchan12-Feb-13 22:17 
QuestionCAsyncSocket exception Pin
ForNow12-Feb-13 19:47
ForNow12-Feb-13 19:47 
AnswerRe: CAsyncSocket exception Pin
Orjan Westin12-Feb-13 23:04
professionalOrjan Westin12-Feb-13 23:04 
GeneralRe: CAsyncSocket exception Pin
ForNow13-Feb-13 6:10
ForNow13-Feb-13 6:10 
Questiondisabele right click popup menu in win32 browser control Pin
venkatesh5286712-Feb-13 19:30
venkatesh5286712-Feb-13 19:30 
AnswerRe: disabele right click popup menu in win32 browser control Pin
_AnsHUMAN_ 13-Feb-13 2:35
_AnsHUMAN_ 13-Feb-13 2:35 
GeneralRe: disabele right click popup menu in win32 browser control Pin
venkatesh5286713-Feb-13 3:41
venkatesh5286713-Feb-13 3:41 

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

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