Share via


DLLLIBOBJECTS

Use the DLLLIBOBJECTS macro to specify additional objects to add to an import library.

Usually, when the TARGETTYPE is DYNLINK, the result is a DLL and an import library. If you want to have different LIB objects for each platform, you can override this value to create different platform-specific DLL LIB objects. DLLLIBOBJECTS enables you to specify additional objects to add to the import library.

For example, you might have an OLE custom control (with GUIDs used to identify this control) that also exports a non-OLE C interface from an import library. Rather than build two separate libraries (for example, Mydll.lib and Myuuid.lib), you can list the GUID data object(s) in DLLLIBOBJECTS. The result is a single library that your users will link against.

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011