{"id":1553,"date":"2013-05-07T15:25:00","date_gmt":"2013-05-07T15:25:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2013\/05\/07\/fix-visual-studio-2012-update-2-breaks-windows-xp-targeting-with-atl-andor-statically-linking-mfc\/"},"modified":"2019-02-18T18:41:07","modified_gmt":"2019-02-18T18:41:07","slug":"fix-visual-studio-2012-update-2-breaks-windows-xp-targeting-with-atl-andor-statically-linking-mfc","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/fix-visual-studio-2012-update-2-breaks-windows-xp-targeting-with-atl-andor-statically-linking-mfc\/","title":{"rendered":"Fix: Visual Studio 2012 Update 2 breaks Windows XP targeting with ATL and\/or statically linking MFC"},"content":{"rendered":"<p>Recently, some of our customers reported a bug in Visual Studio 2012 Update 2 that breaks Windows XP targeting with C++ in some scenarios. Specifically, applications using ATL and\/or statically linking with MFC will get the following error when run on Windows XP:<\/p>\n<p style=\"margin-left: 36pt\">&#8220;The procedure entry point InitializeCriticalSectionEx could not be located in the dynamic link library kernel32.dll.&#8221;<\/p>\n<p>This issue has been fixed in <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=290979\" target=\"_blank\">Visual Studio 2012 Update 3 RC1<\/a>. If you encounter this issue, please download and install this update.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, some of our customers reported a bug in Visual Studio 2012 Update 2 that breaks Windows XP targeting with C++ in some scenarios. Specifically, applications using ATL and\/or statically linking with MFC will get the following error when run on Windows XP: &#8220;The procedure entry point InitializeCriticalSectionEx could not be located in the dynamic [&hellip;]<\/p>\n","protected":false},"author":264,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[137],"class_list":["post-1553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","tag-announcements"],"acf":[],"blog_post_summary":"<p>Recently, some of our customers reported a bug in Visual Studio 2012 Update 2 that breaks Windows XP targeting with C++ in some scenarios. Specifically, applications using ATL and\/or statically linking with MFC will get the following error when run on Windows XP: &#8220;The procedure entry point InitializeCriticalSectionEx could not be located in the dynamic [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/1553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/264"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=1553"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/1553\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=1553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=1553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=1553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}