The procedure entry point `GetTickCount64` could not be located in the dynamic link library KERNEL32.dll

こ雲淡風輕ζ 提交于 2019-12-19 19:47:33

问题


I created an MFC app on Windows 8 using Visual Studio 2012 Update 3. It works on Windows 8, but on Windows XP, it shows me the following error:

The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll

I searched for a solution, but it was said that Update 3 has fixed the problem with Windows XP. I downloaded and installed it, but it didn't help. However, before installing the update, I was having a worse error!

Can anyone solve this problem?


回答1:


The function does not exist in XP. In the documentation for the function it says "To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later." (That means Vista and newer.) If you do that the app will not run on XP.




回答2:


You should download Visual Studio Update 1 or later. Then you can target Windows XP

See here: How to compile for Win XP with Visual Studio 2012?



来源:https://stackoverflow.com/questions/17842981/the-procedure-entry-point-gettickcount64-could-not-be-located-in-the-dynamic-l

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