CREATEProcess Problems with Commandline Program!!!

J

jimbo

Hi to all of you,

I have a problem here with the win32 createprocess command.

I want to execute a command line program inside my c++ program.

At the moment the program is executed at the command prompt (cmd.exe)
with the following syntax:

solver.exe < input.txt -O > output.txt

Now I tried different options with the createprocess command but
nothing did work yet and the solver.exe complains about a wrong
command line arguments :(

currently I use the following syntax:

CreateProcess(NULL,"c:\solver.exe < input.txt -O >
output.txt",............)

Could somebody out there probably help me on how I can get this damn
solver.exe to accept my commandline?

Thank you very much in advance.

Best regards,

jimbo
 
A

Alf P. Steinbach

* jimbo:
[off-topic]

Off-topic in clc++, try posting in e.g.
[comp.os.ms-windows.programmer.win32].

Oh you did.

You MULTI-POSTED. That's even badder than off-topicality. Please don't
multi-post, and please don't post off-topic articles: read the group's
FAQ before posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top