Find Out What DLLs a Module Uses (OS/2, Windows)

The name of a DLL is encoded inside the file that contains the DLL. It also appears inside every executable file or other DLL that refers to the DLL. Therefore, you can run a utility program to obtain a report that lists all the external references from a load module to DLLs. Use the dllrname command for this purpose.

Be sure to specify option /N, unless you are also changing the name of a DLL with the same run of dllrname. This option prevents dllrname from performing its usual task of renaming a DLL and updating the name in all references to the DLL.

The dllrname report does not list DLLs that are loaded explicitly the following APIs:



Changing the Name of a DLL
Repackaging VisualAge C++ DLLs for Distribution
Introduction to the Open Class Library


Use the dllrname Utility
Run-Time Library File Names