Mail Archives: djgpp/1999/08/26/01:39:38
I've had this occur when using older 16-bit apps in NT also.
There are two things you could try:
1. Ensure the PATH is less than 128 characters. You
might want to set it to the minimum required directories
to run your compiler in that session.
Some 16-bit programs never assumed the path could exceed
127, since this was the DOS command line limit.
2. Eliminate excess environment variables, or ensure that no single
environment
variable exceeds 128 characters. I recently installed a package
that
created at least 8 new environment variables.
When the application was executed, the entire Command Prompt
(NTVDM.EXE) would disappear without any error messages.
I simply created a batch file that eliminated the extra variables
(i.e):
SET PRODDATA=
SET PRODEXE=
SET PRODBAK=
etc.
The executable would then run OK.
Joe
jdhagen AT itis DOT com
>>Kelly Harrelson wrote in message <7acb6p$9fk$1 AT news0-alterdial DOT uu DOT net>...
>>>I have an *old* 16-bit cross compiler that runs under DOS and generates
>>>.OBJs for a proprietary platform. The compiler worked fine under DOS,
>>>Windows 3.11, and Windows 95. When we moved to Windows NT, we ran into
>>>problems. Running it under the default shell, cmd.exe
>>>(\winnt\system32\cmd.exe), would cause the entire shell to exit,
>instantly,
>>>with no error messages or anything. One of our developers noticed
however
>>>that it ran fine under the command.com shell
- Raw text -