Migration from 32 bit to 64 bit code base, window application in .Net

Hi Experts,

I am using VB.Net, C#, VS 2015 along with various other com components written in C++ language plus various third-party DLL's. This is a window based application having a client-server architecture.

I know this seems like subjective question itself but appreciate if you could provide some guidance, challenges faced that one should take care while moving from 32-bit code base to 64-bit.

Looking forward to hearing from you guys.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
Assuming you have a setup project I would spend some time doing test deployments.  The migration itself should be relatively easy as 64 can handle 32 bit.  But the challenge becomes copying the files to the correct locations and making sure assemblies get registered correctly.

File system and registry both change from windows 32 bit to 64 bit (EG: Syswow64 for 32 bit system files and The Wow6432Node which is the Software registry root for 32 bit applications).

Just my 2 cents, others may have different opinions.
satmishaAuthor Commented:
Thanks Kyle for valuable inputs. I am looking forward to seeing few more comments as well.
I agree with Kyle, in most situations the migrations from 32bit to 64bit are relatively pain free [insert caveat] *so long as your project and all of it's dependencies are written in .NET only*.  If you have components that are not .NET (ActiveX, Legacy C++ and third-party DLLs) then you need to ensure the following:

1.  Can all of your dependencies operate in a 64bit environment.  If not, you must contact the vendor to see if they have counterpart 64bit dependencies or use a different set of libraries that can operate in a similar way as your existing set of dependencies (this also means that you will have to change your application so that it can operate under the nuances of the new dependencies code base).

2.  You want to ensure that the 64bit dependencies can operate side by side with their 32bit counterparts.  In some situations; e.g. ODBC's - you have 32bit and 64bit dependencies that can operate side by side, meaning that they can both be installed on the same machine and operate independently of each other.  In other situations, e.g. Microsoft Access Database Engine and Office 2010, you cannot intermix the bit versions.  So you must ensure that your set of dependencies will not interfere with another set of dependencies on the client systems.

The reality is, however, that your application will most likely give the same performance whether it is 32bit or 64bit.  Kyle makes a great point about 32bit applications running in a 64bit platform.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

satmishaAuthor Commented:
Thanks it_saige for valuable inputs.

Is there any other advantage that one could get by moving from 32 to 64 bit other than memory utilization? Is any tool which could help us in com component movement?
satmishaAuthor Commented:
Is anyone suggest the advantages to moving to 64 bit from 32 bit ?
What does your application do?

satmishaAuthor Commented:
Thanks it_saige.

It does network management like recording screen, enable or disable feature from client machine etc. It is written in VS 2015 with various c++ libraries, a mixture of vb.net and c#.
satmishaAuthor Commented:
Thank you so much guys for your prompt reply. Apologies for the late reply though. Cheers :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.