Click here to Skip to main content
15,914,488 members
Home / Discussions / C#
   

C#

 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 1:57
professionalJohnny J.7-Jun-10 1:57 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:00
shaina22317-Jun-10 2:00 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
J4amieC7-Jun-10 2:05
J4amieC7-Jun-10 2:05 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:12
shaina22317-Jun-10 2:12 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
J4amieC7-Jun-10 2:26
J4amieC7-Jun-10 2:26 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
shaina22317-Jun-10 2:29
shaina22317-Jun-10 2:29 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 2:41
professionalJohnny J.7-Jun-10 2:41 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Dave Kreskowiak7-Jun-10 3:48
mveDave Kreskowiak7-Jun-10 3:48 
Typically, this is caused by an application being compiled to target "Any CPU". This means that the code will run as a 32-bit app on 32-bit Windows and as a 64-bit app on 64-bit Windows. The problem comes in when the app uses 32-bit only components and .DLL's. You cannot mix 32 and 64-bit code in the same process, so an app that works fine as 32-bit will fall on it's face when run as 64-bit using the exact same components.

The solution is to recompile the app to target x86 only, but you need the source code for that.

The other fix is to run it on 32-bit Windows only, be it in a virtual machine or rebuilding the customers machine to run 32-bit Windows instead, but customers tend to frown upon this.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Mirko19807-Jun-10 4:35
Mirko19807-Jun-10 4:35 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Johnny J.7-Jun-10 2:39
professionalJohnny J.7-Jun-10 2:39 
GeneralOT Pin
jeron17-Jun-10 4:34
jeron17-Jun-10 4:34 
GeneralRe: Issue with running .exe(compiled in 34 bit) in window7 64bit enviornment Pin
Alan N7-Jun-10 3:58
Alan N7-Jun-10 3:58 
QuestionNUnit and testing in Web Developer 2008 Express Pin
Bart Van Eyndhoven7-Jun-10 0:22
Bart Van Eyndhoven7-Jun-10 0:22 
QuestionInstall windows Service from ClickOnce Deployment Pin
Abdul Rahman Hamidy7-Jun-10 0:04
Abdul Rahman Hamidy7-Jun-10 0:04 
QuestionChild Form From its parent form Pin
Enobong Adahada6-Jun-10 22:05
Enobong Adahada6-Jun-10 22:05 
AnswerRe: Child Form From its parent form Pin
Łukasz Nowakowski6-Jun-10 22:22
Łukasz Nowakowski6-Jun-10 22:22 
AnswerRe: Child Form From its parent form Pin
Anshul R8-Jun-10 20:33
Anshul R8-Jun-10 20:33 
QuestionMultithreading Pin
peropata6-Jun-10 21:20
peropata6-Jun-10 21:20 
AnswerRe: Multithreading Pin
Luc Pattyn7-Jun-10 1:01
sitebuilderLuc Pattyn7-Jun-10 1:01 
QuestionSerial number in installer. Pin
MayukhSen6-Jun-10 20:52
MayukhSen6-Jun-10 20:52 
AnswerRe: Serial number in installer. Pin
Hristo-Bojilov6-Jun-10 21:24
Hristo-Bojilov6-Jun-10 21:24 
QuestionPDF to Tiff through C# Pin
mehrdadc486-Jun-10 18:24
mehrdadc486-Jun-10 18:24 
AnswerRe: PDF to Tiff through C# Pin
Abhinav S6-Jun-10 19:01
Abhinav S6-Jun-10 19:01 
QuestionOtions to store settings of application Pin
Hum Dum6-Jun-10 17:49
Hum Dum6-Jun-10 17:49 
AnswerRe: Otions to store settings of application Pin
Łukasz Nowakowski6-Jun-10 21:25
Łukasz Nowakowski6-Jun-10 21:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.