473,388 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

MS DOS executable from VC.NET 2003?


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*/

Nov 16 '05 #1
4 2189
RajW wrote:
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
Nov 16 '05 #2
>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
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 16 '05 #3
On Mon, 08 Dec 2003 07:25:44 +0000, David Lowndes <da****@mvps.org>
wrote:
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*/

Nov 16 '05 #4
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.
-----Original Message-----

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 DOSexecutable, but when I copied the file to a plain DOS (legacy) systemit said that it would not run.

Thanks,
/*Raj*/

.

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: lamar_air | last post by:
I have a fortran executable which when run from cmd it asks for a series of parameters which you enter then hit enter. From my python cgi script i want to be able to run the executable. Enter the...
1
by: Sam Learner | last post by:
Hello, I am developing an application using VB .NET 2003 I will sell it in a Web Store. I understand not every Windows machine necessarily have the .NET runtime 1.1 installed... So I used the...
2
by: Sarah | last post by:
hi, how can u make an executable that also has the .dll files? i was told to try: 1) Create your Windows/Asp application. 2) Create a setup project/web setup project in the same solution as...
6
by: Marlene Arauz Martin | last post by:
Hello, How's everybody??? I have an aspx. page that is calling an executable,....like this... System.Diagnostics.ProcessStartInfo psi= new System.Diagnostics.ProcessStartInfo();...
4
by: Marcel | last post by:
Hi, I just bought VB .NET Standard. I Read a lot but could not find a deployment wizard. I also read a few messages back that a .NET executable need the .NET Framework. How do I distribute this...
3
by: rohan_from_mars | last post by:
I changed my solution name to a new name, but still visual studio 2003 builds the executable with the old solution name. Also, I am unable to change the name from Project properties dialog box....
5
by: snramkumar | last post by:
How to create an executable version of the entire Web site without any source code. Best Regards, S.N.Ramkumar.
4
by: Olumide | last post by:
Hi - I'm writing a plugin with VS.NET (2003), for an application (Autodesk Maya). My work cycle is basically: 1. write code 2. unload plugin in target application (where I do my testing) 3....
1
by: wanaruk | last post by:
Hi all. I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.