博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
vs2012编译的程序在XP下运行提示无法定位输入点XXXXX到kernel32.dll
阅读量:4035 次
发布时间:2019-05-24

本文共 1036 字,大约阅读时间需要 3 分钟。

转载自:http://www.xiaoqin.in/index.php?a=details&aid=117

今天发布一个更新,用户反馈在xp下无法运行。

出现提示:无法定位程序输入点InitializeCriticalSectionEx 于动态链接库 KERNEL32.dll

程序是MFC程序采用静态链接的方式编译的。

之前一直没问题。于是google了下,找呀找,找呀找,找到了这个:

. This fix addresses the following scenario:

  • In Visual Studio 2012 Update 2, you create a C++ Win32 Console Application project.

  • In the application wizard, you select both ATL and MFC.

  • On the project's Property Pages screen, you specify the following options:

    • Platform Toolset: v110_xp

    • Use of MFC: Use MFC in a Static Library

    • Use of ATL: Static Link to ATL

  • You run the application on a computer that is running Windows XP or Windows Server 2003.

In this scenario, you receive the following error message:

Application Name - Entry Point Not Found

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

原来是这群混蛋更新update2造的bug。已经在update3修复了。于是果断下载之,重新编译之后,终于xp正常打开了。

vs2012 update3 下载地址:

在这个页面点下载,然后选择vs2012.3 RC.exe 你看到这篇文章的时候,可能已经不是RC版了,选择类似的就ok

直接点下一步,然后运行,在线安装,我4m宽带,大概十几分钟就装好了。

你可能感兴趣的文章
<转>文档视图指针互获
查看>>
C++中头文件相互包含的几点问题
查看>>
内存设备描述表
查看>>
Latex插入eps图片的方法
查看>>
Matlab subplot 图像间距调整
查看>>
Hibernate使用count(*)取得表中记录总数
查看>>
distinct使SQL查询除去重复的字段
查看>>
从mysql中 导出/导入表及数据
查看>>
HQL语句大全(转)
查看>>
几个常用的Javascript字符串处理函数 spilt(),join(),substring()和indexof()
查看>>
javascript传参字符串 与引号的嵌套调用
查看>>
进程的状态
查看>>
Runnable和Thread 两种实现方式的区别和联系:
查看>>
并发和并行的区别
查看>>
JAVA多线程和并发基础面试问答
查看>>
线程池的介绍及简单实现
查看>>
利用session,cookie进行安全性控制
查看>>
Session和Cookie的区别及Session的生命周期
查看>>
线程池 Thread Pools
查看>>
Cannot forward after response has been committed 错误解决
查看>>