Solved

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

Posted on 2011-03-16
5
593 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:Thomasian
5 Comments
 
LVL 23

Assisted Solution

by:wdosanjos
wdosanjos earned 166 total points
ID: 35153627
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
 
LVL 22

Author Comment

by:Thomasian
ID: 35153636
What is the difference between the 2 in terms of .net programming?
0
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 167 total points
ID: 35153637
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
 
LVL 35

Expert Comment

by:Miguel Oz
ID: 35153642
Programming wise there is no major difference. Memory wise, you consume double the memory.
eg. size
int = 32bits (32), 64bits (64)
0
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 167 total points
ID: 35154388
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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now