MAKELIB: Creating Import Libraries

>> Sample Code: \rsxnt\sample\dll

MAKELIB creates a import-library from a DLL library. The syntax has changed:

syntax:
MAKELIB DLLNAME.DLL [-o LibraryName] [--print]

examples:
a) MAKELIB COMDLG32.DLL -o COMDLG32.A

This example creates the library COMDLG32.A. To link this library to your application you must type: GCC -Zwin32 wintest.c -lcomdlg32

b) MAKELIB –-print COMDLG32.DLL

This example prints the export entries of the library COMDLG32.A.