
156
CHAPTER 5 MEMORY MANAGEMENT, MEMORY-MAPPED FILES, AND DLLS
Building the DLLs
This program was tested with the two file conversion functions, which must be
built as DLLs with different names but identical entry points. There is only one
entry point in this case. The only significant change in the source code is the
addition of a storage modifier,
, to export the function.
The DLL Entry Point
Optionally, you ca n specify an entry point for every DLL you create, and this entry
point is normally invoked automatically every time a process attaches or detaches
the DLL.
, however, allows you to prevent entry point execution.
For implicitly linked (load ...