MS DOS executable from VC.NET 2003?

  • Thread starter Thread starter RajW
  • Start date Start date
R

RajW

Is it possible to make VC.NET 2003 produce an MS DOS (no Windows)
executable? If so how? I was able to get it to produce an MS DOS
executable, but when I copied the file to a plain DOS (legacy) system
it said that it would not run.

Thanks,
/*Raj*/
 
RajW said:
Is it possible to make VC.NET 2003 produce an MS DOS (no Windows)
executable? If so how? I was able to get it to produce an MS DOS
executable, but when I copied the file to a plain DOS (legacy) system
it said that it would not run.

No, it's not. VC.NET produces only Win32 and .NET executables. What you
produced was not a DOS executable, but a Win32 console application. They're
not the same thing.

-cd
 
Is it possible to make VC.NET 2003 produce an MS DOS (no Windows)
executable? If so how? I was able to get it to produce an MS DOS
executable, but when I copied the file to a plain DOS (legacy) system
it said that it would not run.

You need an older 16-bit product such as VC++ 1.52 to produce 16-bit
DOS applications.

Dave
 
You need an older 16-bit product such as VC++ 1.52 to produce 16-bit
DOS applications.

OK. Thanks guys. I had a feeling so but I just wanted to make sure. I
have VC++ 1.52 and it does what I need it to do. Thanks for your help
guys!

/*Raj*/
 
Anything Passed Visual C++ 4 will not compile dos
compatible files most commercial development software
targets windows since dos is not compatible with newer
operating systems you might want to try Djgpp Compiler
with the Rhide Ide.
 
Back
Top