Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Posted
Updated 16-Sep-16 23:00pm
Comments
Mehdi Gholam 17-Sep-16 2:44am    
Make sure you have copied all the needed files, and your .net framework matches what you need.
virus131 17-Sep-16 3:48am    
my .net framework is 3.5
[no name] 17-Sep-16 9:14am    
Research "exception handling" then incorporate that into your code.
Bernhard Hiller 19-Sep-16 3:29am    
"debugging managed code & native code at the same time" - I suppose the problem could be with the UNmanaged code of your app. Add some logging to find out where (code line) your app crashes.

1 solution

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.
 
Share this answer
 
Comments
virus131 17-Sep-16 5:20am    
Thanks for reply...
But i have XP 64 bit professional and Windows 7 - 32 bit professional edition. Also my application uses some vc++ 6.0 dlls.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900