.NET Application Compatibility on 32-bit and 64-bit

I have an application (Winforms and WPF) and a windows service (WCF) which runs on windows 7 x86 (32-bit). If the application is run on a 64-bit system, is it possible to run into some problems?

If so, then what are the programming considerations to make sure that it works on both?
LVL 22
ThomasianAsked:
Who is Participating?
 
Miguel OzSoftware EngineerCommented:
In principle if your .net code is pure .net. (meaning no reflection, no com interaction(interop), pointer operations or calls to 32-bit libraries), then it should be as easy as change the platform target to "Any CPU" or x64. (Property window->build tab)

Check some 64-bit details here:
http://msdn.microsoft.com/en-us/library/ms241064.aspx
0
 
wdosanjosCommented:
It should work fine.  I don't think you are going to run into any issues.  I have an application on a similar configuration and we have never ran into problems.
0
 
ThomasianAuthor Commented:
What is the difference between the 2 in terms of .net programming?
0
 
Miguel OzSoftware EngineerCommented:
Programming wise there is no major difference. Memory wise, you consume double the memory.
eg. size
int = 32bits (32), 64bits (64)
0
 
Carl TawnSystems and Integration DeveloperCommented:
There are potential considerations depending on what you are doing. For example, there is no native 64-bit Jet driver available, so if you use an Access database or anything thing like that then you need to make sure you compile your application specifically to target x86.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.