exe不能在windows7上运行 [英] Exe is not working on windows7

查看:94
本文介绍了exe不能在windows7上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我在Visual Studio 2008中内置了应用程序,在我的电脑上在Windows XP上运行良好。但是当我试图在Windows 7平台上的笔记本电脑上运行相同的应用程序时,它会停止工作并发出以下错误 -



描述:

停止工作



问题签名:

问题事件名称:APPCRASH

应用程序名称:myApp.exe

应用程序版本:1.0.0.0

应用程序时间戳:57779aaf

故障模块名称:KERNELBASE.dll

故障模块版本:6.1.7600.16385

故障模块时间戳:4a5bdaae

例外代码:e0434f4d

异常抵消:00009617

OS版本:6.1.7600.2.0.0.256.48

地区ID:1033



请帮帮我....



谢谢。



我的尝试:



我将目标平台从X86更改为任何CPU,但它给出了新的错误 - 调试器不支持调试托管代码&本平台上的本机代码。

Hello,

I have application built in Visual Studio 2008, that works well on Windows XP, in my PC. But when i am trying to run same application in my laptop on Windows 7 platform it stops working and gives following error-

Description:
Stopped working

Problem signature:
Problem Event Name: APPCRASH
Application Name: myApp.exe
Application Version: 1.0.0.0
Application Timestamp: 57779aaf
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdaae
Exception Code: e0434f4d
Exception Offset: 00009617
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033

Please help me....

Thanks.

What I have tried:

I changed target platform from X86 to Any CPU, but it gives new error as- The debugger does not support debugging managed code & native code at the same time on this platform.

推荐答案

检查您的应用程序引用的所有程序集是否也是为任何CPU构建的,或者至少不是32位。

XP安装的可能性是32位,Win 7是64 - 所以AnyCPU可能会开始以64位模式运行。如果您在应用程序中引用32位程序集,则它无法切换模式,因此会崩溃。
Check that all the Assemblies that your app references are also built for Any CPU, or at least not 32 bit only.
The chances are that your XP installation is 32 bit, and Win 7 is 64 - so AnyCPU will probably start to run in 64 bit mode. If you reference a 32 bit assembly in your app it can't "switch modes" so it will crash.


这篇关于exe不能在windows7上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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