This section provides sample code that you can use as a basis for creating a dynamic-link library. To create the library, you must have at least three files:
A C-language source file
A module-definition (.DEF) file
A makefile
Once you have created these files, you run the Microsoft Program Maintenance Utility (NMAKE) to compile and link the source file.