c++ - Visual Studio 2010 win32 compiled application does not work on windows xp -


i'm working on project should run on windows platforms. written in c++, using windows api. when compile in visual studio 6 on windows xp, can run on windows xp. when run in visual studio 2010 , run on windows xp did not work. did install vcredist2010_x86, vcredist2010sp1_x86 , .net versions 3.5 , 4.0 on windows xp sp3. still doesn't work. added following preprocessor symbols project:

#define _win32_winnt 0x0501 #define winver 0x0501 #define ntddi_version 0x0501 

but still doesn't work. vs 2010 platform toolset v100.

question: need compile application using visual studio 2010, can executed on windows xp?

i'm using vs2010_sp1 on window_7_sp1_x64 , 'release' mode. added #define previous include section. , i've tested ntddi_version 0x05010300 problem still alived! error, showed win_xp is: "program.exe has encountered ploblem , needs close." @ all, think, program needs dll or install on windows xp run correctly!


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -