Click here to Skip to main content
14,921,143 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, my 32 bit MFC app, developed on windows 7 32 bit with VS2010 has some stability problems running on 64 bit windows machine. i don't have access to a 64 bit machine at the moment but i have a very helpful customer who has isolated some of the issues.

he says the problem my be in the default installed folder location. i use innosetup 5 for the installer and install in all the standard places, i.e. Program Files/My Company/My Product etc.

but my customer thinks on a windows 7 64 bit machine, that folder is for 64 bit applications only and my 32 bit app needs to go in a c:\Program Files(x86)

this http://www.codeproject.com/KB/system/64BitOSAndPortingIssues.aspx

seems to confirm that but i'm still a bit confused on how to handle this. is running a 32 bit app on win 7 64 bit simply a matter of fixing the installer or do i need to make any changes to the code or the build process?

i should also menstion that i include mfc as a static linked library, not a dll

thanks
Posted
Updated 22-Aug-11 15:10pm
v2
Comments
Philippe Mori 22-Aug-16 18:24pm
   
An installer should probably handle program file location properly although I don't have any experience with Inno Setup. I don't think that using the 64 bit folder instead of the 32 bit one would have any impact on the stability of the application. In fact, running a 32 bit application on a 64 bit computer should normally not cause any problem.

By the way, the link you gave does not work (even after cut-and-paste) and you should really make the effort to put real link as it is very trivial to do on Code Project (typically, just have to wait a few seconds after pasting the URL or use the tool in the toolbar).

By the way, it would be helpful if you would give descriptive error messages. It is almost impossible to help you if you don't have full details on the error. Either your application should display debugging information or provide a way to send information back to you.

By the way, if you have a 32 bit machine for development, you should probably consider updating it as it is quite obsolete and probably very slow except maybe for trivial program.

1 solution

The default location for 32 bit programs is Program Files (x86); other than that a 32 bit application should run without any other changes on 64 bit.
   

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