sanofsans wrote:
> Hi folks, check this out!
> 
> I wrote a C++ program in which a dialog box with an OK button appears.
> This part works! When I click on OK, a perl 
> script is invoked, and the result of that script should appear in a
> DOS window. This does not work.
> A DOS window only flashes and does not stay open. I can tell that the
> right result is produced, but the 
> DOS windows does not stay open. 
> I have made sure that the settings of the DOS window are set correctly
> (DOS window stays open for other programs.).
> I also tried opening a DOS window before I run the program, but it did
> not work either. 
> 
> 
> Also, my C++ program is absolutely fine when I run it from the command
> line, meaning the DOS window stays open in 
> this case. 
> 
> 
> As always, any help is very appreciated!
> 
> Thanks!
> 
> DD++

Why not dump the output into a multi-line textbox (e.g. similar to how 
NSIS-based installers work)?  Then you won't need to show a command 
prompt at all.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* VerifyMyPC 2.4
Change tracking and management tool.
Reduce tech. support times from 2 hours to 5 minutes.

http://www.CubicleSoft.com/VerifyMyPC/

Reply via email to