Visual Studio 2012 Update 2 broke Windows XP Compatiblity - by Stas Bushuev

Status : 

 


24
0
Sign in
to vote
ID 783183 Comments
Status Active Workarounds
Type Bug Repros 9
Opened 4/8/2013 1:36:34 AM
Access Restriction Public

Description

This program doesn't run on windows xp due unresolved link to InitializeCriticalSectionEx in kernel32.dll


int _tmain(int argc, _TCHAR* argv[])
{
        ATL::_AtlBaseModule.GetModuleInstance(); //<-- This line produce dependence to InitializeCriticalSectionEx
        _tprintf(_T("Ok\n"));
        return 0;
}

The same program built by VS2012 Update 1 works fine.

PlatformToolset is set to v110_xp.
Sign in to post a comment.
Posted by Chad_plus_plus on 4/30/2013 at 6:07 AM
My we get some information on the timeframe for an expected fix? We need to know if Microsoft will provide a proper fix soon or if we should go ahead and implement some of the published workarounds/hacks. Unfortunately, our entire organization applied Update 2 before we realized the XP compatibility problem and now it appears it would be quite a burden to go back to Update 1. Thank you.
Posted by Microsoft on 4/11/2013 at 11:48 AM
Hello,

Thanks for the report. We already have a report of this issue and we are investigating and working on a solution.

Pat Brenner
Visual C++ Libraries Development
Posted by Stas Bushuev on 4/8/2013 at 2:20 AM
It's can be a dublicate of https://connect.microsoft.com/VisualStudio/feedback/details/783137/visual-studio-2012-update-2-rtw-breaks-xp-targeting-with-c-when-statically-linking-mfc-and-atl
Posted by Microsoft on 4/8/2013 at 2:09 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 4/8/2013 at 1:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)