Microsoft C++ V10 and Windows 2000 OS

This is a discussion on Microsoft C++ V10 and Windows 2000 OS within the C++ Programming forums, part of the General Programming Boards category; Whilst upgrading a site from C++ V6 to V10 executables, we found that the V10 versions do not run. Normally, ...

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

    Microsoft C++ V10 and Windows 2000 OS

    Whilst upgrading a site from C++ V6 to V10 executables, we found that the V10 versions do not run.

    Normally, this would not be a problem - we would recommend an upgrade to a more recent OS, but there are a lot of Windows 2000 PCs on this particular site so if there is an available OS patch, please let me know.

    All the XP and W7 PC's on the same site run fine.

    Thanks.
    Never re-write code unless the user benefits

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    2,570
    Does the C runtime install? "Microsoft Visual C++ 2010 Redistributable Package"
    Download: Microsoft Visual C++ 2010 Redistributable Package (x86) - Microsoft Download Center - Download Details

    If not, then there is little that I can think of to do.

    From http://wishmesh.com/2009/09/microsof...dows-versions/
    To target Windows 2000 must use Visual Studio Multi-Targeting (VS 2008 toolkit). Using VS 2010 tools will not run on Windows 2000.
    No idea what the note 1 means but maybe you can figure it out.

    Found link http://msdn.microsoft.com/en-us/library/bb398197.aspx

    Tim S.
    Last edited by stahta01; 02-15-2012 at 09:56 AM. Reason: Added second link and quote
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the Universe is winning." Rick Cook

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    It means 'if you want to run it on 2000, compile with VS 2008'. 2010 compiled exe's have the minimum version fields of the PE header set to XP, but even if you massage that to 2000, the CRT uses functions that just plain dont exist on any version of 2000. No amount of installing anything will get you round that.

  4. #4
    Registered User
    Join Date
    Aug 2010
    Location
    England
    Posts
    86
    Thanks for the prompt replies.

    The site will have to do without some of our new facilities until it upgrades. We still have loads of sites with old OS systems - NT4being common on machinery, with no upgrade path available.

    Is this generally still a common occurence?
    Never re-write code unless the user benefits

  5. #5
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    2010 executables won't work on Win2k. This is why we are still building our products using VC9

    Linking with the CRT statically might be a solution, but an unpalatable one.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GetDiskFreeSpace Windows API fails on windows 2000
    By dnyampawar in forum Windows Programming
    Replies: 7
    Last Post: 07-09-2009, 03:39 AM
  2. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  3. Windows 2000
    By djarian in forum Tech Board
    Replies: 7
    Last Post: 10-17-2003, 01:51 AM
  4. Networking Windows 2000 and Windows Me
    By FCP in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-29-2001, 09:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21