VS2013 compilation for WinXP, procedure entry point could not be located

余生长醉 提交于 2020-01-14 06:05:15

问题


I had a working VS2010 C++ solution, output of which I could launch on XP and Win7 with no problems.

Now I switched to VS2013 and imported the project. From that moment on, the output exe could be launched only on Win7. On XP it would give me "Error Executing Program! (5)".

Well I found this thread

Since then the error I get while launching the application on XP is "The procedure entry point K32GetModuleFilenameExA could not be located in the dynamic link library KERNEL32.dll"

Does it mean I also use some dll, that is not compiled with v120_xp, or is it something else? Thanks...


回答1:


I found the answer here.

The problem is that the dynamic library has to be compiled with v120_xp as well.



来源:https://stackoverflow.com/questions/23009896/vs2013-compilation-for-winxp-procedure-entry-point-could-not-be-located

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!