|
-
Apr 25th, 2010, 11:32 AM
#1
Thread Starter
Member
My application won't run on x64
I am using .NET 2.0 and latest SharpDevelop. No weird OLE dependencies, only what .net has to offer. It runs very well on x86 OSes, but whenever I try tu run it on x64 Windows 7 machine it crashes without showing anything - just "sending problem to microsoft etc etc"
I changed target CPU from 32-bit to "Any processor", but still no luck. It simply won't run.
Application can be downloaded for checking if this problem is not my computer-related from: http://nerdism.eu/pliki/SnakeMeasureTool.exe
No viruses in my binary, you can check it on virustotal: http://www.virustotal.com/pl/analisi...494-1272208406
What am I doing wrong? Code itself compiles and works well, I only want it to somehow run on x64 machines...
-
Apr 25th, 2010, 01:53 PM
#2
Addicted Member
Re: My application won't run on x64
Runs fine on my computer. Win 7 Professional x64
You spelled "Length" wrong on your label in the upper right corner, by the way.
-
Apr 25th, 2010, 02:58 PM
#3
Thread Starter
Member
Re: My application won't run on x64
As to length - jesus I am such a retard. Thanks a lot - fix'd.
Which version do you have? After I switched to Visual Studio 2010 (version 1.0.4)compiler seems to actually listen when I tell him to build for Any CPU and not for x86.
So maybe the problem is not solved, but certainly it's not MY problem anymore.
-
Apr 25th, 2010, 04:50 PM
#4
Addicted Member
Re: My application won't run on x64
 Originally Posted by amras666
As to length - jesus I am such a retard. Thanks a lot - fix'd.
Which version do you have? After I switched to Visual Studio 2010 (version 1.0.4)compiler seems to actually listen when I tell him to build for Any CPU and not for x86.
So maybe the problem is not solved, but certainly it's not MY problem anymore.
My version of VS shouldn't matter, I ran the compiled EXE, not your source code.
-
Apr 25th, 2010, 06:09 PM
#5
Re: My application won't run on x64
You need to set the Target CPU to x86 from project properties -> Compile -> Advanced Compile Settings.
Setting it to x86 will run on 64 bit systems as well thanks to wow layer that ms added to support 32bit apps on 64 bit systems.
Setting to Any CPU will not help.
If your app will target x64 systems only than you can set it to x64.
-
Apr 26th, 2010, 08:11 PM
#6
Thread Starter
Member
Re: My application won't run on x64
@Spirited Machine - Well duh, I gave you no source code. What I meant was which version of my program were you using 
@VBDT - Yes, in THEORY. And yet building for x86 caused crashes on my friend machine and setting to AnyCPU solved the problem. I am not using any exotic dependencies so I guess I can live with the fact that some people will run my app as x86 and some as x64.
Anyway, I am curious as to why WOW refused to work properly. Apps compiled for x86 simply won't run - they crashed upon opening. Ah well. Maybe it was a problem specific to my friends computer, but it is working now so...
Big thanks for help and testing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|