无法在调试模式下启动程序.调试DLL安装问题? [英] Unable to start program in debug mode. Debug Dll installation issue?

查看:30
本文介绍了无法在调试模式下启动程序.调试DLL安装问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚买了一台新机器,并尝试检查、构建和启动我的程序.当点击在调试中启动"按钮时,我从 MS VS 中弹出此错误消息:

I've just get a new machine and try to checkout, build and launch my program. When hitting "launch in debug" button, I have this error message poping up from MS VS:

无法启动程序xx".这个应用程序无法启动因为应用配置是不正确的.审查清单文件对于可能的错误.重新安装应用程序可能会解决此问题.为了更多详细信息,请参阅应用程序事件日志.

Unable to start program 'xx'. This application has failed to start because the application configuration is incorrect. Reviex the manifest file for possible errors. Reinstalling the application may fix this problem. For more details , please see the application event log.

查看应用程序事件日志:

Have a look into the application event log:

Type de l'événement : Erreur Source del'événement : SideBySide Catégorie del'événement : Aucun ID de l'événement: 59 日期 : 24/08/2009 Heure: 16:10:03 Utilisateur : N/A长官:XXXXXXXX 描述:Resolve Partial Assembly a échoué pourMicrosoft.VC80.DebugCRT.信息d'erreur de référence : L'assemblageréférencé n'est pas installé sur votre系统..

Type de l'événement : Erreur Source de l'événement : SideBySide Catégorie de l'événement : Aucun ID de l'événement : 59 Date : 24/08/2009 Heure : 16:10:03 Utilisateur : N/A Ordinateur : XXXXXXXX Description : Resolve Partial Assembly a échoué pour Microsoft.VC80.DebugCRT. Message d'erreur de référence : L'assemblage référencé n'est pas installé sur votre système. .

倒入加d'信息,请咨询中心 Aide et support à l'adressehttp://go.microsoft.com/fwlink/events.asp.>

Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp.

好的,文本是法语,但它粗略地表明解决部分程序集"对Microsoft.VC80.DebugCRT"不起作用.结论是这个汇编没有安装在我的机器上.

Ok , the text is in french, but it roughly tells that that resolving the "partial assembly" didn't work for "Microsoft.VC80.DebugCRT". It conludes so that this assemlby is not installed on my machine.

查看 C:\windows\system32 文件夹,我没有看到 mscvrt80d.dll 文件.(Huu .. 这是我应该期待的吗?).不过,MS Visual Studio 8.0 是由管理员系统全新安装的.

Having a look into the C:\windows\system32 folders, I see no mscvrt80d.dll file. (Huu .. Is it this one I should expect?). MS visual studio 8.0 is freshly installed by admin system though.

你以前有过这个问题吗?你是如何解决这个问题的?

Did you ever have that issue before ? And how did you fix that ?

推荐答案

实际上 CRT 不是这里的问题.导致问题的原因是我使用的另一个库是由同事在他的机器上编译并通过共享目录发送给我的.因此,DLL 的收件人文件夹与我同事在原始机器上的文件夹不同.我想问题是因为清单文件希望它是相同的(?),或者它希望在指定的路径找到源代码(?).

Actually CRT was not the issue here. What caused the problem was that another lib I used was compiled by a co-worker on his machine and sent to me through shared directory. Therefore the recipient folder for the DLL was not the same as it was on the original machine from my coleague. I guess the issue is because the manifest files expect it to be the same(?), or does it expect to find the source code at a specified path (?).

无论如何,在我的机器上从头开始重新编译有问题的库解决了这个问题..

Anyway, re-compiling the lib in question from scratch on my machine resolved the issue..

这篇关于无法在调试模式下启动程序.调试DLL安装问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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