Solved

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

Posted on 2011-03-16
5
595 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 36

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 36

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Service FileSystemwatcher isse 9 46
Get sourcecode path 14 47
Asp.Net Session Question 2 36
Web page design problem 3 17
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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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