Click here to Skip to main content
15,908,020 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple inheritance Pin
Maximilien14-Apr-03 6:03
Maximilien14-Apr-03 6:03 
GeneralRe: Multiple inheritance Pin
Gary Kirkham14-Apr-03 7:26
Gary Kirkham14-Apr-03 7:26 
GeneralRe: Multiple inheritance Pin
Tim Smith14-Apr-03 6:08
Tim Smith14-Apr-03 6:08 
GeneralRe: Multiple inheritance Pin
Maximilien14-Apr-03 6:28
Maximilien14-Apr-03 6:28 
GeneralRe: Multiple inheritance Pin
Gary Kirkham14-Apr-03 7:43
Gary Kirkham14-Apr-03 7:43 
GeneralRe: Multiple inheritance Pin
Tim Smith14-Apr-03 9:51
Tim Smith14-Apr-03 9:51 
GeneralRe: Multiple inheritance Pin
#realJSOP14-Apr-03 6:42
professional#realJSOP14-Apr-03 6:42 
QuestionCreateProcess ??? Pin
will138314-Apr-03 5:38
will138314-Apr-03 5:38 
I'm using the CreateProcess to run an application. Here's how I am calling it:

if (CreateProcess(cmd, cmdline,
NULL,
NULL,
TRUE,
0 /*CREATE_NEW_CONSOLE */,
NULL,
NULL,
&si,
&pi) != 0){

My problem is I'm passing in a command line option, but the option is NOT being sent to the application being run. The app runs and Create Process returns correctly, but the app I'm running just doesn't do what I want it to.

I've looked through the MSDN definition, but I haven't found a solution. I've tried everything it suggests, but it still doesn't work, not matter what command line option I put in there. None of them get passed in.

Anyone have any ideas or suggestions? Thanks!
AnswerRe: CreateProcess ??? Pin
Rage14-Apr-03 6:08
professionalRage14-Apr-03 6:08 
GeneralRe: CreateProcess ??? Pin
will138314-Apr-03 6:27
will138314-Apr-03 6:27 
GeneralRe: CreateProcess ??? Pin
Rage14-Apr-03 6:43
professionalRage14-Apr-03 6:43 
GeneralRe: CreateProcess ??? Pin
Rage14-Apr-03 6:45
professionalRage14-Apr-03 6:45 
AnswerRe: CreateProcess ??? Pin
valikac14-Apr-03 7:41
valikac14-Apr-03 7:41 
GeneralI can´t understand why it doesn´t work Pin
Martin_Viet14-Apr-03 5:24
Martin_Viet14-Apr-03 5:24 
GeneralRe: I can´t understand why it doesn´t work Pin
Joaquín M López Muñoz14-Apr-03 5:30
Joaquín M López Muñoz14-Apr-03 5:30 
GeneralRe: I can´t understand why it doesn´t work Pin
Martin_Viet14-Apr-03 5:46
Martin_Viet14-Apr-03 5:46 
GeneralRe: I can´t understand why it doesn´t work Pin
Joaquín M López Muñoz14-Apr-03 6:17
Joaquín M López Muñoz14-Apr-03 6:17 
GeneralRe: I can´t understand why it doesn´t work Pin
Martin_Viet14-Apr-03 7:01
Martin_Viet14-Apr-03 7:01 
GeneralRe: I can´t understand why it doesn´t work Pin
Joaquín M López Muñoz14-Apr-03 7:24
Joaquín M López Muñoz14-Apr-03 7:24 
GeneralRe: I can´t understand why it doesn´t work Pin
Martin_Viet14-Apr-03 9:04
Martin_Viet14-Apr-03 9:04 
GeneralRe: I can´t understand why it doesn´t work Pin
Martin_Viet14-Apr-03 12:21
Martin_Viet14-Apr-03 12:21 
Generalpragma once Pin
ns14-Apr-03 5:15
ns14-Apr-03 5:15 
GeneralRe: pragma once Pin
User 988514-Apr-03 5:17
User 988514-Apr-03 5:17 
GeneralRe: pragma once Pin
Joaquín M López Muñoz14-Apr-03 5:22
Joaquín M López Muñoz14-Apr-03 5:22 
GeneralThanks! Pin
ns14-Apr-03 6:13
ns14-Apr-03 6:13 

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.