Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I want ASP.net application to work on 64 bit OS. My ASP.net application uses C# and C++ code class library of native code. Do i need to convert this code into 64 bit code while compiling to get advantage of 64 bit OS.

In My application there are number of windows application, Do I need to convert its code into 64 bit.

Please clarify that only class library in C++,C# and windows application in C# and VC++ need to convert. While ASP.net application need not chnage to 64 bit.

OM..
Posted

1 solution

You will need to convert your C++ unmanaged code to 64bit.
Be aware that this may be non-trivial depending on the complexity of your C++ codebase.
See these links for more information:
Microsoft - 64bit systems
Intel - Collection of common 64 bit errors

As for C# code, you can easily set the platform target to x64 and build the modules. You need to ensure that any external unmanaged modules are x64 as well.
Microsoft - Convert 32 bit managed to 64 bit

You would also need to convert your web app to 64 bit. Not that you could leave it as "Any CPU" if you were not using any external unmanaged libraries.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900