Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ 2008 needs framework to run? Pin
led mike6-Dec-07 5:58
led mike6-Dec-07 5:58 
AnswerRe: Visual C++ 2008 needs framework to run? Pin
George L. Jackson6-Dec-07 7:11
George L. Jackson6-Dec-07 7:11 
GeneralRe: Visual C++ 2008 needs framework to run? Pin
Dr. Emmett Brown6-Dec-07 8:47
Dr. Emmett Brown6-Dec-07 8:47 
GeneralThe 2D Graph Component With Zoom Capability - SmartGraph Build Errors Pin
Andy2026-Dec-07 3:48
Andy2026-Dec-07 3:48 
GeneralRe: The 2D Graph Component With Zoom Capability - SmartGraph Build Errors Pin
CPallini6-Dec-07 4:35
mveCPallini6-Dec-07 4:35 
GeneralI'm a newbee on this site... Pin
Allen C.6-Dec-07 3:38
Allen C.6-Dec-07 3:38 
GeneralRe: I'm a newbee on this site... Pin
Matthew Faithfull6-Dec-07 3:44
Matthew Faithfull6-Dec-07 3:44 
GeneralRe: I'm a newbee on this site... Pin
toxcct6-Dec-07 3:45
toxcct6-Dec-07 3:45 
GeneralRe: I'm a newbee on this site... Pin
Hamid_RT6-Dec-07 3:58
Hamid_RT6-Dec-07 3:58 
Generalhttps problem Pin
Sundararajan6-Dec-07 3:16
Sundararajan6-Dec-07 3:16 
AnswerDelete Elements in arrays Pin
KARFER6-Dec-07 3:09
KARFER6-Dec-07 3:09 
GeneralRe: Delete Elements in arrays Pin
Cedric Moonen6-Dec-07 3:14
Cedric Moonen6-Dec-07 3:14 
GeneralRe: Delete Elements in arrays Pin
Maximilien6-Dec-07 3:20
Maximilien6-Dec-07 3:20 
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 
I have a problem executing a particular child process from my Windows MFC application. The call is simply the name of the executable and an input file as commandline option (see below):

CString commandline = "runall.exe datafile.txt";

switch(WinExec(commandline ,SW_SHOWNORMAL))
{
error handling.....
}

The child process starts, but terminates almost immediately without doing its simulations, and without returning any error values. In a console-window the process runs correctly when using the same call. This puzzles me since I also run several other child processes from my application, whithout experiencing the same problems. Launching the process through functions, like spawn or system, etc., does not help either. This child application uses quite a deal of memory, so it could be a memory problem? However, since it runs correctly in a console window even when the parent application is also running, the total amount of memory on the computer must be large enough. Are there some settings I could alter to increase the memory that can be allocated by my application? Any hint on what might be the problem here will be highly appreciated!

Thank you in advance!

maladuk Confused | :confused:

I am using Visual C++ 6.0
GeneralRe: Child process problem Pin
David Crow6-Dec-07 2:35
David Crow6-Dec-07 2:35 

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.