Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling another program Pin
Kash20-Feb-03 3:05
Kash20-Feb-03 3:05 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 3:47
jhwurmbach20-Feb-03 3:47 
GeneralRe: Calling another program Pin
Kash20-Feb-03 4:03
Kash20-Feb-03 4:03 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 4:15
jhwurmbach20-Feb-03 4:15 
GeneralRe: Calling another program Pin
Kash20-Feb-03 5:36
Kash20-Feb-03 5:36 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 5:42
jhwurmbach20-Feb-03 5:42 
GeneralRe: Calling another program Pin
Kash20-Feb-03 6:45
Kash20-Feb-03 6:45 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 20:36
jhwurmbach20-Feb-03 20:36 
Kash wrote:
ProgramA requires user inputs

Oh. I see.
From you first post ("It takes an input data file and outputs another data file.") on, I always thought of command line params.
For a test, I tried "more.com", (which also wants input) with ShellExecuteEx():
CString s ("C:\\WINNT\\system32\\more.com");
SHELLEXECUTEINFO SEI = {0};
SEI.cbSize = sizeof(SEI);
SEI.lpVerb = "open";
SEI.lpFile = s;
SEI.nShow = SW_SHOWDEFAULT;
   
BOOL err = ::ShellExecuteEx( &SEI );
if (err!=TRUE)
{
}
and it seems to work. If this does not help, maybe calling a Batch-file that in turn calls your program may help?


My opinions may have changed, but not the fact that I am right.
GeneralRe: Calling another program Pin
Kash20-Feb-03 22:24
Kash20-Feb-03 22:24 
GeneralBSTR to char * Pin
Anonymous20-Feb-03 0:47
Anonymous20-Feb-03 0:47 
GeneralRe: BSTR to char * Pin
vikramlinux20-Feb-03 0:57
vikramlinux20-Feb-03 0:57 
GeneralRe: BSTR to char * Pin
João Paulo Figueira20-Feb-03 1:24
professionalJoão Paulo Figueira20-Feb-03 1:24 
Generalhyperterminal part2 Pin
Sunnygirl20-Feb-03 0:32
Sunnygirl20-Feb-03 0:32 
GeneralRe: hyperterminal part2 Pin
Roger Allen20-Feb-03 1:03
Roger Allen20-Feb-03 1:03 
GeneralRe: hyperterminal part2 Pin
Sunnygirl20-Feb-03 1:21
Sunnygirl20-Feb-03 1:21 
GeneralRe: hyperterminal part2 Pin
Sunnygirl20-Feb-03 1:28
Sunnygirl20-Feb-03 1:28 
Generalretreive a date from a ADO database Pin
Willem B20-Feb-03 0:06
Willem B20-Feb-03 0:06 
GeneralRe: retreive a date from a ADO database Pin
Michael P Butler20-Feb-03 0:28
Michael P Butler20-Feb-03 0:28 
GeneralRe: retreive a date from a ADO database Pin
Willem B20-Feb-03 0:59
Willem B20-Feb-03 0:59 
GeneralRe: retreive a date from a ADO database Pin
Steve S20-Feb-03 1:31
Steve S20-Feb-03 1:31 
GeneralRe: retreive a date from a ADO database Pin
Willem B20-Feb-03 1:30
Willem B20-Feb-03 1:30 
GeneralRe: retreive a date from a ADO database Pin
João Paulo Figueira20-Feb-03 1:29
professionalJoão Paulo Figueira20-Feb-03 1:29 
GeneralRe: retreive a date from a ADO database Pin
Willem B20-Feb-03 1:31
Willem B20-Feb-03 1:31 
Generalresizing a view Pin
ROK_RShadow19-Feb-03 23:57
ROK_RShadow19-Feb-03 23:57 
GeneralRe: resizing a view Pin
Neville Franks20-Feb-03 0:08
Neville Franks20-Feb-03 0:08 

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.