| Title: | Microsoft Visual C/C++ |
| Moderator: | PLUGH::needle |
| Created: | Tue Mar 16 1993 |
| Last Modified: | Wed Jun 04 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1121 |
| Total number of notes: | 4385 |
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1047.1 | TELFON::MAILMAN | Steve Mailman | Fri Oct 11 1996 14:06 | 4 | |
| 1047.2 | ...but I don't want a console application | KZIN::HUDSON | That's what I think | Wed Oct 16 1996 04:55 | 12 |
| 1047.3 | METALX::SWANSON | Wed Oct 16 1996 11:11 | 6 | ||
| 1047.4 | thanks! | KZIN::HUDSON | That's what I think | Thu Oct 17 1996 06:41 | 8 |
| 1047.5 | some code | CANDOO::GRIEB | Thu Oct 17 1996 08:47 | 83 | |
| 1047.6 | METALX::SWANSON | Thu Oct 17 1996 16:55 | 27 | ||
| 1047.7 | KZIN::HUDSON | That's what I think | Wed Oct 23 1996 10:56 | 13 | |
| 1047.8 | TALLIS::HERDEG | Mark Herdeg | Thu Oct 24 1996 10:49 | 4 | |
| 1047.9 | KZIN::HUDSON | That's what I think | Fri Oct 25 1996 04:04 | 7 | |
| 1047.10 | PCBUOA::BAYJ | Jim, Portables | Mon Jun 02 1997 17:54 | 10 | |
I *thought* I selected console application for a program I am writing
(strictly DOS mode). However, when I run it, it says "this program
cannot be run in DOS mode". SO, perhaps I thought wrong.
Is there a simple setting to switch the project to console mode? This
has happened to me a number of times, and I typically just recreate the
project properly. I figure there must be an easier way (VC++ 4.0).
jeb
| |||||
| 1047.11 | PCBUOA::BAYJ | Jim, Portables | Wed Jun 04 1997 15:38 | 9 | |
I tried again, and created a project workspace and specified console
mode. However, the application will still not run under Windows 95
in DOS mode (it runs in a Win95 DOS window, but not if you boot up and
select command prompt only).
This worked under 1.x. How do you create a DOS-only app with VC++ 4.0?
jeb
| |||||
| 1047.12 | Console Application != DOS Application | SPELNK::curless | Wed Jun 04 1997 16:43 | 10 | |
It worked because... 1.x was a 16bit compiler, v4.0 is a 32bit compiler/code generator... DOS can't deal with 32bit applications unless there is a dos extender around. The reason why you can't run the program under dos is that because it is a 32bit application, the header in the executable is different than that of a normal dos program (it actually looks to DOS like a windows application). Jeff | |||||