Click here to Skip to main content
16,011,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How ???.... ??? :confused: Pin
Michael Dunn21-Jan-01 9:54
sitebuilderMichael Dunn21-Jan-01 9:54 
GeneralRe: How ???.... ??? :confused: Pin
21-Jan-01 12:00
suss21-Jan-01 12:00 
GeneralRe: How ???.... ??? :confused: Pin
Erik Funkenbusch22-Jan-01 12:19
Erik Funkenbusch22-Jan-01 12:19 
Questionhow do you send a command line properly? Pin
mrtoast21-Jan-01 3:25
mrtoast21-Jan-01 3:25 
AnswerRe: how do you send a command line properly? Pin
21-Jan-01 5:32
suss21-Jan-01 5:32 
GeneralRe: how do you send a command line properly? Pin
mrtoast21-Jan-01 9:07
mrtoast21-Jan-01 9:07 
GeneralRe: how do you send a command line properly? Pin
Chris Losinger21-Jan-01 9:16
professionalChris Losinger21-Jan-01 9:16 
GeneralRe: how do you send a command line properly? Pin
Tim Deveaux21-Jan-01 13:49
Tim Deveaux21-Jan-01 13:49 
Not sure exactly what you need, but one thing you can try is invoking CreateProcess with NULL as the appname, and a command line that first invokes cmd (or command) and passes it the name of the program you want to invoke.

This should get you a new console which loads its own environment vars. Use the /k switch - "command /k myprog.exe" - if you want the command window to hang around after myprog exits, or /c if you don't.

Only bother with this approach is you need to know if the OS is using cmd.exe or command.com.
QuestionWhat are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 14:08
suss20-Jan-01 14:08 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 21:11
suss20-Jan-01 21:11 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
22-Jan-01 12:19
suss22-Jan-01 12:19 
GeneralSave & Load Pin
20-Jan-01 8:02
suss20-Jan-01 8:02 
GeneralRe: Save & Load Pin
Christian Graus20-Jan-01 13:59
protectorChristian Graus20-Jan-01 13:59 
GeneralRe: Save & Load Pin
AlexMarbus21-Jan-01 12:13
AlexMarbus21-Jan-01 12:13 
GeneralRe: Save & Load Pin
Christian Graus21-Jan-01 12:35
protectorChristian Graus21-Jan-01 12:35 
GeneralRe: Save & Load Pin
AlexMarbus21-Jan-01 12:42
AlexMarbus21-Jan-01 12:42 
GeneralRe: Save & Load Pin
22-Jan-01 2:17
suss22-Jan-01 2:17 
GeneralObjective Grid - Spin Control - Help!!! Pin
20-Jan-01 7:07
suss20-Jan-01 7:07 
GeneralOnKeyDown Pin
Sjoerd van Leent20-Jan-01 3:56
Sjoerd van Leent20-Jan-01 3:56 
GeneralRe: OnKeyDown Pin
20-Jan-01 4:21
suss20-Jan-01 4:21 
GeneralChild wizard that don't allow to access the controls of his parent dialog (How to avoid?) Pin
Joan M20-Jan-01 3:24
professionalJoan M20-Jan-01 3:24 
GeneralRe: Child wizard that don't allow to access the controls of his parent dialog (How to avoid?) Pin
AlexMarbus21-Jan-01 12:19
AlexMarbus21-Jan-01 12:19 
QuestionHow to get the "name -> WM_xxx" of a message if I have the numeric ID? Pin
Joan M20-Jan-01 0:58
professionalJoan M20-Jan-01 0:58 
AnswerRe: How to get the Pin
NormDroid20-Jan-01 1:45
professionalNormDroid20-Jan-01 1:45 
GeneralRe: How to get the Pin
Joan M20-Jan-01 1:54
professionalJoan M20-Jan-01 1:54 

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.