将解决方案从VS2005转换为VS2008后,应用程序崩溃 [英] Application crashes after converting the solution from VS2005 to VS2008

查看:99
本文介绍了将解决方案从VS2005转换为VS2008后,应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在VS2005中有一个应用程序项目.解决方案由一个exe和两个dll项目组成.在VS2005上工作正常.

但是,当我将代码迁移到VS2008时,它在一开始就开始崩溃.在输出窗口中触发以下错误.

Hi,
I have an application project in VS2005. Solution consists of one exe and two dll projects. It works fine on VS2005.

But when i migrated the code to VS2008 it started to crash at the start. It fires following error in the output window.

Access violation reading error 0x00000130




同时我弹出带有消息的对话框




at the same time i get the dialog box popped up with the message

Application error
The application failed to initialize properly (0x0000142)




在使用VS2005开发时,该方法可以正常工作吗?




Can anybody help in this reagard as it is working properly when developed using VS2005.

推荐答案

在我们所知的所有情况下,您如何期望我们能够为您提供帮助?是您得到的错误?您是否尝试过在调试器下运行它以查看您在哪里获取异常?这是您的代码,因此您应该对可能发生的地方有所了解.

我已经将数十个项目从.Net 2.0转换为3.5,并且从3.5转换为4.0,而且我从未遇到过由于转换而导致应用程序未按设计运行的情况.
How do you expect us to be able to help you with it when all we know is the errors you''re getting? Have you tried running it under the debugger to see WHERE you''re getting the exception? It''s your code so you should have some idea of where this might be happening.

I''ve converted dozens of projects from .Net 2.0 to 3.5, and from 3.5 to 4.0, and I have NEVER had an app not run as designed as a result of the conversion.


请尽可能报告错误消息.
而且,调试器是您的朋友.看一下调用堆栈窗口.
您是否同时转换了可执行文件库和动态库?
Please report as much as you can about the error message.
Moreover, the debugger is you friend. Have a look at the call stack window.
Did you convert both the executable and the dynamic libraries?


对不起.有人签入了一些错误的项目文件.
我已经使用了一些以前的版本,并且在VS2008中一切正常. ??无论如何,感谢您的及时答复
Sorry guys . Somebody had checked in some errorneous project files.?

I have taken some previous versions and everything is working properly in VS2008. ??Anyways thanks for the prompt replies


这篇关于将解决方案从VS2005转换为VS2008后,应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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