Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET VC++
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 4-Jul-11 22:40pm
am 2009754

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
0 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 310
3 Gihan Liyanage 214
4 kbrandwijk 204
0 OriginalGriff 737
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 505
3 Sergey Alexandrovich Kryukov 405
4 thatraja 370


Advertise | Privacy | Mobile
Web03 | 2.8.140902.1 | Last Updated 5 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100