Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Can't generate release version - VC++6, multi-monitor app, Win98

Can't generate release version - VC++6, multi-monitor app, Win98

Scheduled Pinned Locked Moved C / C++ / MFC
c++announcementquestionvisual-studiocom
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    normanS
    wrote on last edited by
    #1

    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?

    T M N 3 Replies Last reply
    0
    • N normanS

      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?

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      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.

      N 1 Reply Last reply
      0
      • N normanS

        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?

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        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

        N 1 Reply Last reply
        0
        • T Tim Smith

          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.

          N Offline
          N Offline
          normanS
          wrote on last edited by
          #4

          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!

          1 Reply Last reply
          0
          • M Michael Dunn

            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

            N Offline
            N Offline
            normanS
            wrote on last edited by
            #5

            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?

            1 Reply Last reply
            0
            • N normanS

              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?

              N Offline
              N Offline
              normanS
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups