c++ - Compile MFC program with VS 2012 running on windows xp -


i have vs 2012 on windows 7. want build mfc program can run on windows xp. received following error while moved exe file windows xp: “it not valid win32 application”.

after exploring on internet, discovered should install visual studio 2012 update 1 , change platform toolset “visual studio 2012 (v110)” “visual studio 2012 - windows xp (v110_xp)”. changed target machine “machinex86 (/machine:x86)”. time receive error while run exe file on windows xp: “the procedure entry point initializecriticalsection not located in dynamic library kernel32.dll”.

now not know :(. appreciate if can me :).

please note tried simple dialog mfc program without adding code it.

this bug in visual studio 2012 update 2. link has workaround update 2 (although community sourced one), , microsoft has say:

posted microsoft on 06/05/2013 @ 16:16

yes, fixed in update 3

so best bet roll update 1 or wait update 3.

edit visual studio 2012 update 3 release candidate has been released "go-live" licensing. caveat:

statement of support:

visual studio 2012 update 3 rc , team foundation server 2012 update 3 rc “go-live”. means customers can use these builds in production environments. these still pre-releases, there may bugs fixed final release. upgrade update 3 rc update 3 rtm supported. in order upgrade future releases, customer must first upgrade update 3 rc update 3 rtm.

more information available here.

edit 2 turns out rolling update 1 breaks visual studio...


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -