Can't generate release version - VC++6, multi-monitor app, Win98
-
I am developing using Visual C++6 (service pack 5) under Windows 98. I have created a multi-monitor application, which works fine in the debug version (I put #define WINVER 0x0500 right at the start of my code, to enable Win98 & Win2K features). In the VC6 IDE message pane, I get the following when I build: NOTE: WINVER has been defined as 0x0500 or greater which enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. For this release when WINVER is defined as 0x0500 or greater, you can only build beta or test applications. To build a retail application, set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are available. The problem is, I want to create a release version (I need to do some speed optimisation of the inner loop!) I read the info in www.codeproject.com/cpp/cppforumfaq.asp, para 2.2, _BUT_ the SDK updates are not applicable to Windows 98. To summarise - how do I update the header files, and presumably some library files and whatever else is necessary, to let me generate a release version under Windows 98?
-
I am developing using Visual C++6 (service pack 5) under Windows 98. I have created a multi-monitor application, which works fine in the debug version (I put #define WINVER 0x0500 right at the start of my code, to enable Win98 & Win2K features). In the VC6 IDE message pane, I get the following when I build: NOTE: WINVER has been defined as 0x0500 or greater which enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. For this release when WINVER is defined as 0x0500 or greater, you can only build beta or test applications. To build a retail application, set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are available. The problem is, I want to create a release version (I need to do some speed optimisation of the inner loop!) I read the info in www.codeproject.com/cpp/cppforumfaq.asp, para 2.2, _BUT_ the SDK updates are not applicable to Windows 98. To summarise - how do I update the header files, and presumably some library files and whatever else is necessary, to let me generate a release version under Windows 98?
-
I am developing using Visual C++6 (service pack 5) under Windows 98. I have created a multi-monitor application, which works fine in the debug version (I put #define WINVER 0x0500 right at the start of my code, to enable Win98 & Win2K features). In the VC6 IDE message pane, I get the following when I build: NOTE: WINVER has been defined as 0x0500 or greater which enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. For this release when WINVER is defined as 0x0500 or greater, you can only build beta or test applications. To build a retail application, set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are available. The problem is, I want to create a release version (I need to do some speed optimisation of the inner loop!) I read the info in www.codeproject.com/cpp/cppforumfaq.asp, para 2.2, _BUT_ the SDK updates are not applicable to Windows 98. To summarise - how do I update the header files, and presumably some library files and whatever else is necessary, to let me generate a release version under Windows 98?
You can still install the PSDK. WHen you use the "Register PSDK Directories with Visual Studio" menu item to set up the include/lib/bin paths in VC 6, you'll need to go remove the BIN entry from the executable search path. This way you'll use the VC 6 compiler/linker/RC, instead of the PDSK ones which are crippled and won't run on 9x anymore. --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER
-
You probably just need to install the latest platform SDK. To be perfectly honest, everyone should :) Tim Smith I'm going to patent thought. I have yet to see any prior art.
I tried that (without reading all the information as well as I should!) The information on PSDK says: The applications you develop with this edition of the SDK can run on the Windows Server 2003, Windows XP, Windows 2000, Windows NT®, Windows Millennium Edition, Windows 98, and Windows 95. So I downloaded, installed, and tried to compile my application. I got a message something like "RC.EXE wrong version. Install a later version of Windows." So I went back to the MS SDK page, and when I checked, saw: SYSTEM REQUIREMENTS The SDK requires Microsoft® Windows® XP, Windows 2000, Microsoft Windows NT® 4.0 SP6, or Windows Server 2003. The SDK is not supported on Windows 95, Windows 98, or Windows Millennium Edition. But the installer does not check Windows version - it happily installs on Windows 98. The un-installer won't remove the PSDK, either!
-
You can still install the PSDK. WHen you use the "Register PSDK Directories with Visual Studio" menu item to set up the include/lib/bin paths in VC 6, you'll need to go remove the BIN entry from the executable search path. This way you'll use the VC 6 compiler/linker/RC, instead of the PDSK ones which are crippled and won't run on 9x anymore. --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER
Thanks - I will try and report the results. I may have problems because I tried to uninstall, but we'll see. If necessary I will install again. The Microsoft SDK_bin and Microsoft SDK_lib directories have Win95 subdirectories - any suggestions what to do about the contents of those?
-
I am developing using Visual C++6 (service pack 5) under Windows 98. I have created a multi-monitor application, which works fine in the debug version (I put #define WINVER 0x0500 right at the start of my code, to enable Win98 & Win2K features). In the VC6 IDE message pane, I get the following when I build: NOTE: WINVER has been defined as 0x0500 or greater which enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. For this release when WINVER is defined as 0x0500 or greater, you can only build beta or test applications. To build a retail application, set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are available. The problem is, I want to create a release version (I need to do some speed optimisation of the inner loop!) I read the info in www.codeproject.com/cpp/cppforumfaq.asp, para 2.2, _BUT_ the SDK updates are not applicable to Windows 98. To summarise - how do I update the header files, and presumably some library files and whatever else is necessary, to let me generate a release version under Windows 98?
Thanks to Michael Dunn for the assistance. I now have a Visual C++ 6 project with WINVER = 5.0 (Windows 98 / Windows 2000 - specific features enabled) and I can build a release version. For others with the same problem, I did the following: * I installed the latest platform SDK from the Microsoft MSDN site. * I ran: Start Menu/Programs/Microsoft Platform SDK February 2003/Visual Studio Registration/Register PSDK Directories with Visual Studio * In Visual Studio 6, I went into Tools / Options / Directories / Executable files, and deleted " C:\Program Files\Microsoft SDK\bin" from the list. I hope this helps others in the future.