Redigera

Dela via


/DEPENDENTS

Dumps the names of the DLLs from which the image imports functions. You can use the list to determine which DLLs to redistribute with your app, or find the name of a missing dependency.

Syntax

/DEPENDENTS

This option applies to all the executable files specified on the command line. It doesn't take any arguments.

Remarks

The /DEPENDENTS option adds the names of the DLLs from which the image imports functions to the output. This option does not dump the names of the imported functions. To see the names of the imported functions, use the /IMPORTS option.

Only the /HEADERS DUMPBIN option is available for use on files produced with the /GL compiler option.

Example

This example shows the DUMPBIN output of the /DEPENDENTS option on the client executable built in Walkthrough: Create and use your own Dynamic Link Library:

C:\Users\username\Source\Repos\MathClient\Debug>dumpbin /DEPENDENTS MathClient.exe
Microsoft (R) COFF/PE Dumper Version 14.16.27032.1
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file MathClient1322.exe

File Type: EXECUTABLE IMAGE

  Image has the following dependencies:

    MathLibrary.dll
    MSVCP140D.dll
    VCRUNTIME140D.dll
    ucrtbased.dll
    KERNEL32.dll

  Summary

        1000 .00cfg
        1000 .data
        2000 .idata
        1000 .msvcjmc
        3000 .rdata
        1000 .reloc
        1000 .rsrc
        8000 .text
       10000 .textbss

See also

DUMPBIN Options