Solved

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

Posted on 2011-03-16
5
586 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
Comment Utility
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
Comment Utility
What is the difference between the 2 in terms of .net programming?
0
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 167 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
C# SQL BULK INSERT CLASS 5 32
DataGridview Currency Formating? 22 37
Image(7) 1 31
Get list of word ducuments in a folder 10 9
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

14 Experts available now in Live!

Get 1:1 Help Now