在动态链接库KERNEL32.dll中找不到过程入口点"GetTickCount64"

在动态链接库KERNEL32.dll中找不到过程入口点

问题描述:

我使用 Visual Studio 2012 Update 3 Windows 8 上创建了 MFC 应用.它在 Windows 8 上运行,但是在 Windows XP 上,它显示以下错误:

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

我在寻找解决方案,但据说 Update 3 已解决了 Windows XP 的问题.我下载并安装了它,但没有帮助. 但是,在安装更新之前,我遇到了更严重的错误!

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!

谁能解决这个问题?

该功能在XP中不存在.在该函数的文档中说:要编译使用此函数的应用程序,请将_WIN32_WINNT定义为0x0600或更高版本." (这意味着Vista和更高版本.)如果执行此操作,则该应用程序将无法在XP上运行.

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.