Click here to Skip to main content
15,916,188 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: execution! Pin
David Crow9-Mar-05 8:12
David Crow9-Mar-05 8:12 
GeneralRe: execution! Pin
mpapeo9-Mar-05 8:26
mpapeo9-Mar-05 8:26 
GeneralRe: execution! Pin
David Crow9-Mar-05 8:57
David Crow9-Mar-05 8:57 
GeneralRe: execution! Pin
mpapeo9-Mar-05 10:04
mpapeo9-Mar-05 10:04 
GeneralRe: execution! Pin
David Crow9-Mar-05 10:11
David Crow9-Mar-05 10:11 
GeneralRe: execution! Pin
mpapeo9-Mar-05 12:33
mpapeo9-Mar-05 12:33 
GeneralRe: execution! Pin
David Crow10-Mar-05 2:53
David Crow10-Mar-05 2:53 
GeneralRe: execution! Pin
mpapeo10-Mar-05 11:09
mpapeo10-Mar-05 11:09 
Well im having problems with the below code in the bold and italic line, because i don't want to hardcode the process which i want to create (mychildprocess). I want it to be one of the commandline arguments.
[code]
// Start the child process.
if( !CreateProcess( NULL, // No module name (use command line).
TEXT("MyChildProcess"), // Command line.
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
NULL, // Use parent's starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.
)
[/code]
So what can i replace TEXT with?

oam
GeneralRe: execution! Pin
David Crow10-Mar-05 11:19
David Crow10-Mar-05 11:19 
GeneralRe: execution! Pin
mpapeo10-Mar-05 11:44
mpapeo10-Mar-05 11:44 
GeneralRe: execution! Pin
mpapeo10-Mar-05 14:20
mpapeo10-Mar-05 14:20 
Questioncan VC++ create a MAC version Pin
Mohsen Saad9-Mar-05 7:18
Mohsen Saad9-Mar-05 7:18 
Questioncan VC++ create a MAC version Pin
Mohsen Saad9-Mar-05 7:17
Mohsen Saad9-Mar-05 7:17 
AnswerRe: can VC++ create a MAC version Pin
Jeryth9-Mar-05 8:03
Jeryth9-Mar-05 8:03 
AnswerRe: can VC++ create a MAC version Pin
Maximilien9-Mar-05 8:39
Maximilien9-Mar-05 8:39 
AnswerRe: can VC++ create a MAC version Pin
Ravi Bhavnani9-Mar-05 12:14
professionalRavi Bhavnani9-Mar-05 12:14 
AnswerRe: can VC++ create a MAC version Pin
Steen Krogsgaard9-Mar-05 22:09
Steen Krogsgaard9-Mar-05 22:09 
GeneralRe: can VC++ create a MAC version Pin
Anonymous10-Mar-05 5:52
Anonymous10-Mar-05 5:52 
GeneralProblem reading 0x08 from file. Pin
eddo019-Mar-05 6:31
eddo019-Mar-05 6:31 
GeneralRe: Problem reading 0x08 from file. Pin
karle9-Mar-05 8:42
karle9-Mar-05 8:42 
GeneralRe: Problem reading 0x08 from file. Pin
David Crow9-Mar-05 10:15
David Crow9-Mar-05 10:15 
GeneralProblem in Wizard - OnCancel / OnWizardFinish Pin
g3e9-Mar-05 4:57
g3e9-Mar-05 4:57 
GeneralCall a Managed DLL from Unmanaged MFC Class Pin
morefalt9-Mar-05 4:42
morefalt9-Mar-05 4:42 
GeneralShort-circuit evaluation questions. Pin
rbid9-Mar-05 3:58
rbid9-Mar-05 3:58 
GeneralRe: Short-circuit evaluation questions. Pin
Blake Miller9-Mar-05 4:36
Blake Miller9-Mar-05 4:36 

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.