This article is reproduced in the article, the original address: http://www.cnblogs.com/qguohog/archive/2011/09/13/2174897.html, only records for subsequent use, if there is infringement please notify the deletion.
When you publish a DLL, you can choose to compile to x86 mode, x64 mode, and any CPU mode. So how do you know what system is supported for a DLL file that has already been published?
Method One: Reflector
For. Net DLL files, use the Reflector tool to identify:
The Platform target indicates the target system selected by the DLL at compile time.
Method Two: CorFlags.exe tools
With the CorFlags tool Vistual Studio.NET, open the vs.net command window first:
Input Coreflags <assembly path>:
Where the value of PE and 32BIT can see the number of system bits supported by the DLL:
anycpu: PE = PE32 and 32BIT = 0
x86: PE = PE32 and 32BIT = 1
x64: PE = pe32+ and 32BIT = 0
(Refer to: http://blogs.msdn.com/b/gauravseth/archive/2006/03/07/545104.aspx)
Method Three: Dumpin.exe tools
the Dumpin commands in Vs.net tools allow you to view:
Dumpbin/headers <assembly path>
View machine-related properties to identify the number of system bits it supports.
The method can also view non-. NET compiled DLL information.
(RPM) If you know if the DLL file is for a 32-bit system or a 64-bit system?