How do you find dlls associated with third party programs on your system?

I know this is an abstract question but some one must have found a method.


:grin:
Posted on 2003-01-19 01:17:23 by IwasTitan
on win xp perhaps it is possible to check the dll-cache where the system dll-backups are stored,
with the dll's contained in system32 folder.
the ones not found in the cache but in system32 can be thought of as 3rd party?

dont know if it is good idea.
Posted on 2003-01-19 01:31:57 by david
Hi,

there is a tool called listdlls.exe available. It lists
all DLLs used by currently active (loaded) processes.

Bye Miracle
Posted on 2003-01-20 10:41:07 by miracle
How do you find dlls associated with third party programs on your system?
What do you mean? You can use the tool shipped with VC etc. called 'Depends.exe' to see what the dependencies of a module (exe or dll) are, basically the tool just checks all the imports for that module.

If you are trying to find the location of a dll, the OS searches for them in a specific order: first it checks the app's working (current) directory, then it searches through all the paths listed in the enviromental variable "paths" (it searches in the order the paths are listed). On an NT system, you have access to two "path" environmental variables: the user paths, and the system paths. The user paths are specific to that login, and are searched before the system paths.

Of course there is a big exception to the first paragraph above when dealing with ActiveX (COM) dlls. To be very brief, these are listed in the registry (kind of in a database fashion). They have a GUID which is the "key" to describing things about that dll, and the registry stores the info on where that dll is located.


Is that enough info so far? :grin:
Posted on 2003-01-20 17:33:50 by sluggy