vc++ 使用64位平台编译,运行程序出现0xc000007b错误的解决方案
来源:互联网 发布:java多线程输出1到100 编辑:程序博客网 时间:2024/05/16 12:36
案例重现:
使用vs在32位平台编译正常运行,切换到64位编译后,运行程序出现0xc000007b错误。
错误原因:
可能使用了32位lib
#pragma comment(lib,"comctl32.lib")
解决方案:
修改manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="CompanyName.ProductName.YourApplication" type="win32"/> <description>Your application description here.</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency></assembly>
将processorArchitecture=“X86”
修改为processorArchitecture=“amd64”
0 0
- vc++ 使用64位平台编译,运行程序出现0xc000007b错误的解决方案
- vc++ 使用64位平台编译,运行程序出现0xc000007b错误的解决方案
- 【mfc】vc++ 使用64位平台编译,运行程序出现0xc000007b错误的解决方案
- Dreamweaver CS6 64位提示0xc000007b错误的解决方案
- 含vtk64位库的程序运行0xc000007b错误的解决
- vs2012 32位64 来回编译运行提示0xc000007b错误
- 用vc2013编写的程序在新电脑上运行出现“0xc000007b”错误的解决办法
- 运行游戏时出现0xc000007b错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 【转】运行游戏时出现0xc000007b错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- wamp安装后,运行出现 程序运行错误代码0xc000007b
- win7 64位平台编译的程序在XP 32位平台无法运行的解决方法
- 运行游戏时出现0xc000007b错误的解决方法或者丢失msvcp120.dll等等
- VS2010运行opencv的程序,出现“应用程序无法正常启动0xc000007b”的解决方法
- VS2013+opencv3.0+QT5.7编译ok但是运行产生0xc000007b错误的解决方法
- 游戏 出现0xc000007b 错误的解决方法汇总
- Android组件ListView的适配器BaseAdapter
- Leetcode:Binary Search Tree Iterator
- CSU1115 最短的名字
- 线性表实现之一:数组
- PHP Native Interface (PNI)
- vc++ 使用64位平台编译,运行程序出现0xc000007b错误的解决方案
- 1.10
- Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts have a
- 线性表实现之二:链表
- CSU 1116 Kingdoms
- 使用Memcached、Spring AOP构建数据库前端缓存框架
- Java多线程整理(一)-基本知识
- hdu 2527 Safe Or Unsafe(霍夫曼树)
- parseSdkContent failed Could not initialize class android.graphics.Typeface