Link to home
Start Free TrialLog in
Avatar of hpicd
hpicd

asked on

Calling console applications from C++ Builder

I have a set of utilities which are 32 bit console applications which take command line arguments and return output to the console.

How can I incorporate these programs into a C++ Builder program so that I can create a front-end GUI. Note that I don't have the source code for the console apps. (third party software). I need to

a) pass arguments to the apps as command line arguments
b) recover the output of the applications
c) I don't want spurious DOS windows appearing while the apps run.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hpicd
hpicd

ASKER

That looks pretty good and so quick I hardly had time to get a cup of coffee! I will try it this evening and report back if there are any problems.