无法在动态链接库 KERNEL32.dll 中找到过程入口点“GetTickCount64"
我使用 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:
在动态链接库KERNEL32.dll中找不到程序入口点GetTickCount64
我搜索了解决方案,但据说 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.
相关文章