从VS2008运行可执行程序崩溃,错误和QUOT;应用程序无法正常启动(0x000007b)" 64 [英] Running executable from VS2008 crashes with error "Application was unable to start correctly (0x000007b)" x64

查看:306
本文介绍了从VS2008运行可执行程序崩溃,错误和QUOT;应用程序无法正常启动(0x000007b)" 64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误是在这两个调试/发布present。

那么原来的问题是,它有32位的库,我没有链接到64的版本。 (这个问题previous版) 我固定的。

和应用程序可以在Windows Server标准2008 R2 x64的。

我试图运行的应用程序在Windows服务器企业却得到了上述(标题)提到的错误消息。

的Dependency Walker说:与不同的CPU类型的模块被发现,由于某种原因,似乎它的正确链接到32位的库,但多数民众赞成在来自Mshtml.dll的(赢LIB),并将其链接到winsxs文件\ X86。 。文件夹COMCTL32.DLL,但库在System32文件夹(正确的),所以不知道为什么它链接到这一个

任何想法???

解决方案
  

我试图重新安装Visual C ++可再发行,但没有帮助。

哪一个 - 那你来安装补丁的VC编译,还是你从网上下载的人吗?是否安装了32位REDIST或64位 - 他们是单独的安装,即64位REDIST不包括32位REDIST文件

  

使用不同的CPU类型的模块被发现

是的,你有相匹配的CPU类型,所有32位或全部64位。

由于IESHIMS给IM pression工作的一个浏览器插件

  • 如果你做一个浏览器插件(BHO - IE插件式/扩展),那么你需要单独注册32安培; 64位,但如果你连接到IE作为外部服务器,那么你只需要确保你有合适的人到你的应用程序的其他部分相匹配。
  • 如果你做一个FF插件,然后别忘了给Mozilla目录添加到搜索路径依赖,当你做出改变,不要忘记,你需要重置的Firefox插件缓存,试图加载插件再次(更改文件夹名,启动FF,然后更改名称后)
  

的%ProgramFiles%/ Internet Explorer来System32下。

因此​​,这将是64位,即DLL,到?? / System32下

我建议删除所有已添加到SYSTEM32中的DLL,这样导致DLL地狱。

This error is present in both Debug/Release.

So the original problem was that it had 32 bit library that I did not link to 64 version of it. (Previous version of this question) I fixed that.

And application works on Windows Server Standard 2008R2 x64.

I tried running application on Windows Server Enterprise but got above (title) mentioned error message.

Dependency walker says "Modules with different CPU types were found" and for some reason it seems its linking incorrectly to 32 bit library, but thats something that comes from mshtml.dll (win lib) and it links to winsxs\x86.. folder to COMCTL32.dll, but that lib is in System32 folder (correct one ) so not sure why is it linking to this one

Any ideas???

解决方案

I tried re-installing Visual C++ redistributable but no help.

Which one - the one that came with your installed and patched VC compiler, or did you download it from the net? Did you install the 32 bit redist or the 64 bit - they are seperate installs, ie 64 bit redist doesn't include 32 bit redist files.

Modules with different CPU types were found

yes, you have to match the CPU type, all 32 bit or all 64 bit.

Given the IESHIMS gives the impression working on a browser plugin

  • If your making a Browser Helper Object (BHO - IE addon-on/extension) then you need to register seperately 32 & 64 bit, but if your connecting to ie as an external server then you just need to make sure you have the right one to match the rest of your app.
  • If your making a FF plug-in then don't forget to add the mozilla directory to the search path for depends, and when you make changes don't forget you have to reset the firefox plugin cache to try and load the plug-in again (change the folder name, start FF, then change the name back)

%ProgramFiles%/Internet Explorer to System32.

So that would be the 64bit ie dll, to the ??/System32

I'd recommend removing any of the dlls you have added to system32, that way leads to dll hell.

这篇关于从VS2008运行可执行程序崩溃,错误和QUOT;应用程序无法正常启动(0x000007b)" 64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆