Will the .NET Windows Forms application run on a 64-bit OS or is it necessary to change it?

Generally speaking, will the .NET Windows Forms application run on a 64-bit OS or do I need to change it?

+5
source share
7 answers

If it does not rely on a 32-bit external library (for example, a COM component), it works fine as a 64-bit process and will use its advantages (large address space, x64 instruction set, ...). If it uses 32-bit things, most of the time you can still run it as a 32-bit application by setting the target platform on x86.

+6
source

.NET 64 , x86 Any CPU, VS.NET.

+5

: MSDN - 32- 64-.

100%, 64- 64- CLR.

:

  • API p/invoke
  • COM

, .

+2

. , - , interop/PInvoke, , .

+1

.NET 64- - .

++/CLI, COM-, , P/Invoke, 64- .

+1

Most 64-bit operating systems can handle 32-bit applications without problems. That's why you see the Program Files (x86) folder on your 64-bit OS to handle many of your old 32-bit applications.

0
source

Until you mix and match library platforms, everything will be fine. Ask x86 when compiling, and you should be good to go.

0
source

All Articles