Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What tools can be used to find which DLLs are referenced? [closed]

Tags:

reference

dll

vb6

This is an antique problem with VB6 DLL and COM objects but I still face it day to day. What tools or procedures can be used to see which DLL file or version another DLL is referencing?

I am referring to compiled DLLs at runtime, not from within VB6 IDE.

It's DLL hell.

like image 649
Ady Romantika Avatar asked Sep 16 '08 05:09

Ady Romantika


People also ask

How DLL FileS are created?

In Visual C++ 6.0, you can create a DLL by selecting either the Win32 Dynamic-Link Library project type or the MFC AppWizard (dll) project type. The following code is an example of a DLL that was created in Visual C++ by using the Win32 Dynamic-Link Library project type.


2 Answers

Dependency Walker shows you all the files that a DLL links to (or is trying to link to) and it's free.

like image 140
Bdoserror Avatar answered Oct 12 '22 23:10

Bdoserror


ProcessExplorer shows you all the DLLs that are currently loaded in a process at a particular moment. This gives you another angle on Dependency Walker which I believe does a static scan and can miss some DLLs that are dynamically loaded on demand. Raymond says that's unavoidable.

like image 42
MarkJ Avatar answered Oct 13 '22 01:10

MarkJ