VC Redist 14.28 breaks Windows XP compatibility

Peter Schüller 1 Reputation point
2021-03-22T15:58:36.803+00:00

After installing VC Redist 14.18.29325.2, software build with the platform toolset v141_xp no longer run on Windows XP because msvc140.dll requires "ReleaseSRWLockExclusive" in "kernel32.dll".

Older versions of VC Redist (testet with 14.27.29016.0) didn't have this problem.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,856 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 10,536 Reputation points Microsoft Vendor
    2021-03-23T03:18:10.043+00:00

    Hi,

    If you want to configuring programs for Windows XP, as far as I'm concerned you should get the v141_xp platform toolset.

    The v142 toolset supplied in Visual Studio 2019 doesn't include support for creating code for Windows XP. Support for Windows XP development by using the Visual Studio 2017 v141_xp toolset is available as an individual component option in the Visual Studio Installer.

    For more details I suggest you could refer to the Doc: Configuring Programs for Windows XP

    Best Regards,

    Jeanine Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Peter Schüller 1 Reputation point
    2021-04-01T13:28:54.937+00:00

    @Jeanine Zhang-MSFT

    Any news on this problem?

    Will it be fixed with a future VC Redist version?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.