Using VC++ 2008 compiler with VC++ 2005, but keep compatibility with Win98 ?
-
Is it possible to use the VC++ 2008 compiler with Visual Studio 2005, so that you benefit from the smaller code produced by the VC++ 2008 compiler, but yet keep compatibility with Win98 (ie. still use VC++ 2005 runtime libraries) ?
-
Is it possible to use the VC++ 2008 compiler with Visual Studio 2005, so that you benefit from the smaller code produced by the VC++ 2008 compiler, but yet keep compatibility with Win98 (ie. still use VC++ 2005 runtime libraries) ?
as long as you don't call specific APIs which Win98 weren't providing yet, yes, you can...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
as long as you don't call specific APIs which Win98 weren't providing yet, yes, you can...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
Do you just copy the relevant compiler files: c1.dll c1xx.dll c2.dll cl.exe or should the whole bin folder be copied ?
-
Do you just copy the relevant compiler files: c1.dll c1xx.dll c2.dll cl.exe or should the whole bin folder be copied ?
either provide every linked dll or static link the dependencies... but don't copy the compiler itself !!! humm, it seems i misunderstood your original question. unfortunately, no, you can't use VC++2005 compiler with VS2008 (or vice versa). but you still can compile an application targetting Win98 with VC++2005 or VC++2008
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
Is it possible to use the VC++ 2008 compiler with Visual Studio 2005, so that you benefit from the smaller code produced by the VC++ 2008 compiler, but yet keep compatibility with Win98 (ie. still use VC++ 2005 runtime libraries) ?
-
either provide every linked dll or static link the dependencies... but don't copy the compiler itself !!! humm, it seems i misunderstood your original question. unfortunately, no, you can't use VC++2005 compiler with VS2008 (or vice versa). but you still can compile an application targetting Win98 with VC++2005 or VC++2008
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
but you still can compile an application targetting Win98 with VC++2005 or VC++2008
As I understand it, the Visual C/C++ 2008 runtime libraries no longer support Win98 though, so it won't run on Win98, even if it's targetted for Win98. Is this not the case ? See http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/d651fdb9-5e51-44eb-b518-3f481bfcf0c5/[^]
-
Just use your 2008 and set the _WIN32_WINNT and WINVER variables to indicate that you want to target Win98 (0x0410) Judy
This won't work because the Visual C/C++ runtime library doesn't support Win98. See http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/d651fdb9-5e51-44eb-b518-3f481bfcf0c5/[^]
-
Is it possible to use the VC++ 2008 compiler with Visual Studio 2005, so that you benefit from the smaller code produced by the VC++ 2008 compiler, but yet keep compatibility with Win98 (ie. still use VC++ 2005 runtime libraries) ?
Be aware that the smaller code in VS 2008 is probably due to the NOWIN98 linker setting being automatic. In VS 2005 you can set this in the linker optimization properties. Your app will run slightly slower on Windows 98 as a result, but it will run.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
Is it possible to use the VC++ 2008 compiler with Visual Studio 2005, so that you benefit from the smaller code produced by the VC++ 2008 compiler, but yet keep compatibility with Win98 (ie. still use VC++ 2005 runtime libraries) ?
I haven't tested it the method, which is to manually change the value of "MajorOperatingSystemVersion" in the PE header, but the original author had luck getting his app to run on NT 4. You may also have to manually calculate the "Checksum" value and change that as well: http://groups.google.com/group/Visual-Studio-NET-2005/browse_thread/thread/4fa74dafe3eb6ef5/3aaeafa3b6338ea7[^]
-
This won't work because the Visual C/C++ runtime library doesn't support Win98. See http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/d651fdb9-5e51-44eb-b518-3f481bfcf0c5/[^]