In article <0e6901c38f3e$d9330650$(E-Mail Removed)>, hlam wrote:
> It is a c app that we will be writing that can be executed
> from a DOS prompt. We also want it to be an "engine" to
> the VB app so the VB app can call it to pass it data and
> get data in return.
>
> Thanks in advance for your help.
> H. Lam
>
>
Ahh, then it is a console application. Then you'll want to look at the
System.Diagnostics class. With that class you can start the application,
and redirect it's stdin and stdout to your own application... There is
a thread here were I already posted some example source of this. It is
discussing ReadConsoleOutput and ReadConsoleOutputChar. If you look for
those in the subject you'll find it
HTH
--
Tom Shelton
MVP [Visual Basic]