question

PeterSchller-0428 avatar image
0 Votes"
PeterSchller-0428 asked PeterSchller-0428 answered

VC Redist 14.28 breaks Windows XP compatibility

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++
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JeanineZhang-MSFT avatar image
0 Votes"
JeanineZhang-MSFT answered PeterSchller-0428 commented

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.


· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As I have clearly written our software IS build with the v141_xp platform toolset.

0 Votes 0 ·

@PeterSchller-0428

According to your description, VC Redist 14.18.29325.2 have this problem and VC Redist 14.27.29016.0 didn't have this problem. However VC Redist 14.18.29325.2 is the older version and you said older versions of VC Redist didn't have this problem. So I didn't understand what you mean.

0 Votes 0 ·

Oh, sorry, this was a typo. The version with the problem is VC Redist 14.28.29325.2. I've corrected the title of the ticket.

0 Votes 0 ·

@PeterSchller-0428

According to the documentation I provided above:

The v142 toolset supplied in Visual Studio 2019 doesn't include support for creating code for Windows XP.

So the VC Redist 14.28 did break Windows XP compatibility.





0 Votes 0 ·

So, why can the VC Redist 14.28 be installed on Windows XP at all, if it doesn't work there?

0 Votes 0 ·
PeterSchller-0428 avatar image
0 Votes"
PeterSchller-0428 answered

@JeanineZhang-MSFT

Any news on this problem?

Will it be fixed with a future VC Redist version?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.