Thread: Microsoft C++ V10 and Windows 2000 OS

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

    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
    4,183
    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 10:56 AM. Reason: Added second link and quote
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    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
    90
    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
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    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