For Programmers: Free Programming Magazines  


Home > Archive > Java Help > July 2004 > Re: Windows environment error while trying to execute 16-bit application









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Windows environment error while trying to execute 16-bit application
Benjamin Outram

2004-07-28, 9:09 pm

Hi,

Thanks for your help.

I don't know before execution whether the target is going to be a DOS
program or not.

If I launch 32-bit programs and destroy cmd.exe / command.com then the
program itself doesn't exit, just the command `wrapper`.

Henry Paul wrote:

> "cmd.exe" in simple terms is an emulator that that makes the program think
> it is running in DOS. It also isolates the application in its own memory
> space so if it suffers an error it will not crash the entire OS.
>
> When some applications end, you are returned to a command prompt, but not
> always. It depends on the program being run. The result of not killing the
> cmd.exe process would leave you with a command prompt window open.
>
> To see this in action, go to Start|Run ping 127.0.0.1
>
> The program will run an instance of cmd.exe, run the ping command, and close
> the cmd.exe command when finished.
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com