The Win32 File Header
The Win32 file header establishes the fact that the assembly can be loaded and manipulated by the
Windows family of operating systems. This header data also identifies the kind of application (con-
sole-based, GUI-based, or *.dll code library) to be hosted by the Windows operating system. If you
open a .NET assembly using the dumpbin.exe utility (via a Visual Studio 2008 command prompt)
and specify the /headers flag, you can view an assembly’s Win32 header information. Figure 15-2
shows (partial) Win32 header information for the CarLibrary.dll assembly you will build a bit later
in this chapter.
C H A P T E R 1 5
■
I N T R O D U C I N G . N E T A S S E M B L I E S
482
8849CH15.qxd 10/22/07 1:46 PM Page 482
Figure 15-2.
An assembly’s Win32 file header information
Do'stlaringiz bilan baham: |