Solved

Visual C++ question

Posted on 1998-11-23
6
218 Views
Last Modified: 2010-04-01
Is there anyway i can make Visual C++ 5.0 compile and produce a DOS executable?
0
Comment
Question by:GreatOne
  • 3
  • 2
6 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 1178470
Sorry, no way - all VC++ versions greater than 1.5x only produce 32bit exes ...
0
 
LVL 2

Accepted Solution

by:
trillo earned 20 total points
ID: 1178471
Of course you can
1) Select the "new" command on the file meno (or icon), A dialog will appear.
2) Select the project tab
3) Select Console Application
I have VC++ 5.0, and I've made some DOS apps.

Trillo.
0
 

Author Comment

by:GreatOne
ID: 1178472
Do you mean select win32 console application? WHat i want to do is take some C++ code and create an executable that can be run under DOS. Is this possible?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:trillo
ID: 1178473
It's possible to run console applications in DOS mode under Windows, but not when you are at the "pure" DOS mode.
0
 
LVL 86

Expert Comment

by:jkr
ID: 1178474
That's what i said... 'pure' (i.e. 16bit) programs ___CANNOT___ be created by VC5

trillo:
>>I have VC++ 5.0, and I've made some DOS apps.
THIS IS DEFINITELY WRONG!!!
0
 
LVL 2

Expert Comment

by:trillo
ID: 1178475
OK,OK,.... I misunderstood, I meant that I've made DOS apps to run under the Windows' DOS mode... (it all depends on what you call DOS in these days)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now