Thread: Microsoft V6 C++ Compiler detecting Windows 7

  1. #1
    Registered User
    Join Date
    Aug 2010
    Location
    England
    Posts
    90

    Microsoft V6 C++ Compiler detecting Windows 7

    I am having a problem detecting Windows 7 OS using my V6 compiler.
    No doubt this is age related, but practically, I only have one command change between Windows XP and Windows 7, so there is no justification to upgrade to latest compiler for this application.

    I write this just so no-one replies telling me to move to a new compiler.

    Does anyone have a practical workaround that I can use inside V6 compiler.

    Thanks.
    Never re-write code unless the user benefits

  2. #2

  3. #3
    Registered User
    Join Date
    Aug 2010
    Location
    England
    Posts
    90
    Tried that.

    Generated 5.1 for XP and 6.1 for Windows 7.

    Thanks.
    Never re-write code unless the user benefits

  4. #4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Detecting key press (Windows)
    By XunTric in forum Windows Programming
    Replies: 2
    Last Post: 04-13-2010, 06:54 AM
  2. Detecting compiler
    By Scarvenger in forum C++ Programming
    Replies: 7
    Last Post: 12-20-2007, 02:12 PM
  3. Detecting if OS is Windows???
    By Ktulu in forum Windows Programming
    Replies: 2
    Last Post: 11-19-2006, 02:49 AM
  4. Microsoft C compiler
    By chinux in forum C Programming
    Replies: 5
    Last Post: 11-27-2004, 08:33 PM
  5. detecting errors with the compiler
    By InvariantLoop in forum C++ Programming
    Replies: 6
    Last Post: 04-22-2004, 09:55 PM