Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Delete Elements in arrays Pin
CPallini6-Dec-07 3:25
mveCPallini6-Dec-07 3:25 
GeneralRe: Delete Elements in arrays Pin
toxcct6-Dec-07 3:36
toxcct6-Dec-07 3:36 
GeneralSure, buddy! Pin
CPallini6-Dec-07 3:51
mveCPallini6-Dec-07 3:51 
GeneralRe: Sure, buddy! Pin
toxcct6-Dec-07 4:26
toxcct6-Dec-07 4:26 
GeneralRe: Sure, buddy! Pin
CPallini6-Dec-07 4:51
mveCPallini6-Dec-07 4:51 
GeneralRe: Sure, buddy! Pin
toxcct6-Dec-07 5:54
toxcct6-Dec-07 5:54 
GeneralRe: Delete Elements in arrays Pin
KARFER6-Dec-07 5:29
KARFER6-Dec-07 5:29 
GeneralRe: Delete Elements in arrays Pin
CPallini6-Dec-07 5:40
mveCPallini6-Dec-07 5:40 
Generaltls with ftp in vc++ Pin
gayathri6-Dec-07 2:46
gayathri6-Dec-07 2:46 
GeneralRe: tls with ftp in vc++ Pin
Mike Dimmick6-Dec-07 3:54
Mike Dimmick6-Dec-07 3:54 
GeneralChild process problem Pin
maladuk6-Dec-07 2:23
maladuk6-Dec-07 2:23 
GeneralRe: Child process problem Pin
David Crow6-Dec-07 2:35
David Crow6-Dec-07 2:35 
GeneralRe: Child process problem Pin
maladuk6-Dec-07 2:44
maladuk6-Dec-07 2:44 
GeneralRe: Child process problem Pin
David Crow6-Dec-07 2:48
David Crow6-Dec-07 2:48 
GeneralRe: Child process problem Pin
maladuk6-Dec-07 3:04
maladuk6-Dec-07 3:04 
QuestionRe: Child process problem Pin
David Crow6-Dec-07 4:59
David Crow6-Dec-07 4:59 
AnswerRe: Child process problem [modified] Pin
Member 75496011-Dec-07 5:58
Member 75496011-Dec-07 5:58 
The code snippet indicates that some assumptions may not be valid:

1. Does the child program run? Save the result of the WinExec call in
a variable and check it. Add a positive statement that the program was run properly,

2. Does the child program read the command line correctly? You need postive and negative results here too.

3. Can the child process find the input file? WinExec may be able to locate the program to run but the program may not be able to locate the input file. Pay attention to the current directory and how WinExec finds the child program.

My guess is that #3 is the problem since you can run the child program
independently.

modified on Tuesday, December 11, 2007 1:04:27 PM

GeneralPutting values in array Pin
vjasai6-Dec-07 1:48
vjasai6-Dec-07 1:48 
GeneralRe: Putting values in array Pin
Cedric Moonen6-Dec-07 2:24
Cedric Moonen6-Dec-07 2:24 
JokeRe: Putting values in array Pin
David Crow6-Dec-07 2:40
David Crow6-Dec-07 2:40 
GeneralRe: Putting values in array Pin
jhwurmbach6-Dec-07 3:48
jhwurmbach6-Dec-07 3:48 
QuestionRe: Putting values in array Pin
David Crow6-Dec-07 2:45
David Crow6-Dec-07 2:45 
GeneralRe: Putting values in array Pin
Maximilien6-Dec-07 3:10
Maximilien6-Dec-07 3:10 
GeneralGetting code page descriptions... Pin
Haroon Sarwar6-Dec-07 1:24
Haroon Sarwar6-Dec-07 1:24 
GeneralRe: Getting code page descriptions... Pin
Nibu babu thomas6-Dec-07 2:27
Nibu babu thomas6-Dec-07 2:27 

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.