000025363 - How to tell whether library has been statically linked

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000025363
Applies ToRSA Key Manager Client 1.5.x
Microsoft Windows
IssueHow to tell whether library has been statically linked

One way to determine whether an executable has linked the static version of kmclient.lib is to open the executable in Dependency Walker (depends.exe, which is included in the Microsoft Visual Studio 6.0 Tools and can be downloaded at http://www.dependencywalker.com):

- If kmclient.dll is shown as one of the dependencies, then it is dynamically linked. (You can also use "dumpbin /dependents" followed by the executable name.)

- If kmclient.dll is not shown as one of the dependencies, but when the executable is selected, the Export Function List (the pane where the first column is 'E') displays the RKM Client functions such as Initialize, Shutdown, KMSInit, KMSGetKey, etc., then it is statically linked to kmclient.lib. (You can also use "dumpbin /exports" followed by the executable name.)

Legacy Article IDa38497

Attachments

    Outcomes