The procedure entry point `GetTickCount64` could not be located in the dynamic link library KERNEL32.dll(无法在动态链接库 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.
这篇关于无法在动态链接库 KERNEL32.dll 中找到过程入口点“GetTickCount64"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在动态链接库 KERNEL32.dll 中找到过程入口点“GetTickCount64"
基础教程推荐
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- CString 到 char* 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 初始化列表*参数*评估顺序 2021-01-01
