No it cannot close the window itself. The whole idea was to basicaly
do this: licensegen code
where licensegen is a dos program
code is the argument ie "12345678"
the output from the dos program is a printf to STDOUT
I just needed to grab that STDOUT line and send it via email back to
my customer.
Th edos program was written in C++ (I did not write it) if there is a
instruction that I can insert into the C++ code that will destroy the
window it's operating in I might be able to add that into the program
and recompile.
Thanks
Karlo S.
On Wed, 31 Jan 2001 10:16:28 -0500, "Ken Slovak - [MVP - Outlook]"
Quote:
>You would have to have your DOS program write the return data to a
>file or to environment variables. Does your program have a way to exit
>and close the command window? I'm not sure about any other way of
>closing it.