Compiling DOS Apps With Windows 7
-
Guys, I have to maintain a number of legacy products which are DOS applications, developed using MSVC 1.52. I have just splashed out on a new laptop only to find that MSVC1.52 refuses to install undr Windows 7, even in XP (and Win 98) compatibility mode. Anyone managed to do this, or does anyone know of a C compiler which will produce 16 bit DOS apps but will run under Windows 7? The code is C and not C++ and does not us MFC. Thanks Tony
-
Guys, I have to maintain a number of legacy products which are DOS applications, developed using MSVC 1.52. I have just splashed out on a new laptop only to find that MSVC1.52 refuses to install undr Windows 7, even in XP (and Win 98) compatibility mode. Anyone managed to do this, or does anyone know of a C compiler which will produce 16 bit DOS apps but will run under Windows 7? The code is C and not C++ and does not us MFC. Thanks Tony
I believe XP (and before) used to have an emulator that would allow it to run 16bit applications... that's probably gone in the newer OS's... try to search for a 16bit emulator that you can run under...
-
Guys, I have to maintain a number of legacy products which are DOS applications, developed using MSVC 1.52. I have just splashed out on a new laptop only to find that MSVC1.52 refuses to install undr Windows 7, even in XP (and Win 98) compatibility mode. Anyone managed to do this, or does anyone know of a C compiler which will produce 16 bit DOS apps but will run under Windows 7? The code is C and not C++ and does not us MFC. Thanks Tony
read this
-
read this
Thanks, You are right of course, the problem is not so much related to Windows 7 but to the 64 bit platform. That makes the problem all the more difficult because its not just a case of replacing the OS. I saw that Windows 7 Pro has an XP mode but I guess it will be XP/64 so the problem will still be the same. Things are never easy (sigh!) :sigh:
-
Thanks, You are right of course, the problem is not so much related to Windows 7 but to the 64 bit platform. That makes the problem all the more difficult because its not just a case of replacing the OS. I saw that Windows 7 Pro has an XP mode but I guess it will be XP/64 so the problem will still be the same. Things are never easy (sigh!) :sigh:
Have you considered simply using a virtual machine? I've got win7 (home premium, so no XP emulation mode) I simply installed Virtual Box before installing XP, linux Mint, etc inside it. You'll have no problem installing XP, 2000 or 98 in it, and from there any version of visual studio you please. Of course there's always the MS Virtual PC, or the ubiquitous VMWare.
-
Guys, I have to maintain a number of legacy products which are DOS applications, developed using MSVC 1.52. I have just splashed out on a new laptop only to find that MSVC1.52 refuses to install undr Windows 7, even in XP (and Win 98) compatibility mode. Anyone managed to do this, or does anyone know of a C compiler which will produce 16 bit DOS apps but will run under Windows 7? The code is C and not C++ and does not us MFC. Thanks Tony
As pointed out by others, 64-bit Windows does not support 16-bit programs even though Intel x64 and AMD64 do support 16-bit programs. However there is a program called DOSBox (http://www.dosbox.com/download.php?main=1[^]) that can be used to run 16-bit programs. I use this program to run the old classic DOS games.
«_Superman_» _I love work. It gives me something to do between weekends.
-
As pointed out by others, 64-bit Windows does not support 16-bit programs even though Intel x64 and AMD64 do support 16-bit programs. However there is a program called DOSBox (http://www.dosbox.com/download.php?main=1[^]) that can be used to run 16-bit programs. I use this program to run the old classic DOS games.
«_Superman_» _I love work. It gives me something to do between weekends.
Thanks, I saw DOSBox but I dont actually run the DOS apps on the development PC as they are embedded. The real problem is getting Microsoft Visual C++ V1.52 to install and run so I am looking for a Windows on Windows solution. :thumbsup:
-
Thanks, You are right of course, the problem is not so much related to Windows 7 but to the 64 bit platform. That makes the problem all the more difficult because its not just a case of replacing the OS. I saw that Windows 7 Pro has an XP mode but I guess it will be XP/64 so the problem will still be the same. Things are never easy (sigh!) :sigh:
-
Thanks, I saw DOSBox but I dont actually run the DOS apps on the development PC as they are embedded. The real problem is getting Microsoft Visual C++ V1.52 to install and run so I am looking for a Windows on Windows solution. :thumbsup:
-
Thanks a lot for the suggestion. I have installed Virtual PC and XP (32 bit) and my MSVC 1.52 is installing nicely. Great solution (and free). :thumbsup: :thumbsup: