Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reg: Dialogue size change Pin
coding_ram25-Feb-09 18:14
coding_ram25-Feb-09 18:14 
QuestionWhy am I not able to get handle of file? Pin
SherTeks25-Feb-09 0:53
SherTeks25-Feb-09 0:53 
AnswerRe: Why am I not able to get handle of file? Pin
SandipG 25-Feb-09 1:05
SandipG 25-Feb-09 1:05 
GeneralRe: Why am I not able to get handle of file? Pin
ky_rerun25-Feb-09 3:47
ky_rerun25-Feb-09 3:47 
GeneralRe: Why am I not able to get handle of file? Pin
SandipG 25-Feb-09 4:38
SandipG 25-Feb-09 4:38 
QuestionRe: Why am I not able to get handle of file? Pin
David Crow25-Feb-09 3:22
David Crow25-Feb-09 3:22 
AnswerRe: Why am I not able to get handle of file? Pin
ky_rerun25-Feb-09 5:58
ky_rerun25-Feb-09 5:58 
AnswerRe: Why am I not able to get handle of file? Pin
Stuart Dootson25-Feb-09 12:06
professionalStuart Dootson25-Feb-09 12:06 
I would suggest you a) use CreateProcess to run ipconfig (on its own, not in a batch file), so that you can b) redirect the standard output and standard error handles[^] of the created process to a string within your parent process.

That way, your program is using the exact same mechanism as CMD to redirect ipconfig's output to where you want to make use of it. And you don't need to mess with files and stuff.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionSerial coms worker thread not working Pin
jimjim73324-Feb-09 23:30
jimjim73324-Feb-09 23:30 
AnswerRe: Serial coms worker thread not working Pin
Cedric Moonen24-Feb-09 23:40
Cedric Moonen24-Feb-09 23:40 
GeneralRe: Serial coms worker thread not working Pin
jimjim73325-Feb-09 0:20
jimjim73325-Feb-09 0:20 
QuestionFew doubts in MFC application?? Pin
kapardhi24-Feb-09 23:22
kapardhi24-Feb-09 23:22 
AnswerRe: Few doubts in MFC application?? Pin
Iain Clarke, Warrior Programmer24-Feb-09 23:45
Iain Clarke, Warrior Programmer24-Feb-09 23:45 
QuestionCreateProcess in WinCE Pin
vijaywithu24-Feb-09 22:48
vijaywithu24-Feb-09 22:48 
AnswerRe: CreateProcess in WinCE Pin
Sethuraman.K24-Feb-09 23:33
Sethuraman.K24-Feb-09 23:33 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K24-Feb-09 23:49
Sethuraman.K24-Feb-09 23:49 
GeneralRe: CreateProcess in WinCE Pin
vijaywithu24-Feb-09 23:50
vijaywithu24-Feb-09 23:50 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K25-Feb-09 0:07
Sethuraman.K25-Feb-09 0:07 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K25-Feb-09 0:31
Sethuraman.K25-Feb-09 0:31 
GeneralRe: CreateProcess in WinCE Pin
ujjawal kumar25-Feb-09 20:13
ujjawal kumar25-Feb-09 20:13 
QuestionAny one can help me with these code Pin
Archy_Yu24-Feb-09 21:27
Archy_Yu24-Feb-09 21:27 
AnswerRe: Any one can help me with these code Pin
ashtwin24-Feb-09 21:35
ashtwin24-Feb-09 21:35 
AnswerRe: Any one can help me with these code Pin
Sethuraman.K24-Feb-09 23:25
Sethuraman.K24-Feb-09 23:25 
GeneralRe: Any one can help me with these code Pin
Iain Clarke, Warrior Programmer24-Feb-09 23:51
Iain Clarke, Warrior Programmer24-Feb-09 23:51 
GeneralRe: Any one can help me with these code Pin
CPallini25-Feb-09 0:38
mveCPallini25-Feb-09 0:38 

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.