Hi All,
I am trying to run a console C++ application linking with my DLL files from the command prompt in a XP windows machine. Recently I have started getting "This program cannot be run in DOS mode." as an error message. As I understand this is a filler message in all DLL's to print if this exe was invoked in a pure MS-DOS environment. So Why am I getting this in a Windows CMD window? Is it telling me that one of my DLLs has a problem?
Also I observed immeditaly after the error message the Windows path depiction changes as follows
<--------------Screen Dump------------------------------>
C:\Program Files\MYPROGRAMS\APPLICATIONS>foo.exe This program cannot be run in DOS mode.
C:\PROGRA~1\MYPROG~1\APPLICAT~1>
<--------------Screen Dump------------------------------>
Why does the path text change to Win95 style(for want of better phrase)? Is it somehow setting the system into some compatibility mode?
Most of the googling indicates this error occuring only during installation(unlike my scenario). THis link http://www.personalcopy.com/doserror.htm talks about a variant but the checkboxes are no longer present in the DOS window properties.
Any help and pointers appreciated.