Fog Creek Software
Discussion Board




ldd in windows?

Is there an equivalent tool in windows like ldd in Linux? ldd is the linker dependency thing - for resolving DLL dependencies.  Example:

ldd ./test
libpthread.so.0 => /lib/i686/libpthread.so.0
librt.so.1 => /lib/librt.so.1
libmpeg2ts.so => ./libmpeg2ts.so

My kids have downloaded some Kazaa style spyware, and I want to make sure I really delete all files...

Thanks,

Nat Ersoz
Tuesday, March 04, 2003

Speaking of spyware, this is disgusting.  They didn't know any better (all their friends have it - we had a talk...), but my word, this is disgusting stuff.

Nat Ersoz
Tuesday, March 04, 2003

You want Dependency Walker (http://www.dependencywalker.com/) for finding the standard DLLs that it references, but I'm not sure if there is an easy way of finding out what COM DLLs an application references.

Jason
Tuesday, March 04, 2003

Right.  Dependency Walker will tell you about all of the statically linked DLLs, but there is no way to find out about all of the dynamically linked DLLs (including COM).  Depending on how into this project you are, you can search for strings in the executable to make sure there aren't any DLL names/progids in there.

Brian
Tuesday, March 04, 2003

Actually, I believe the current version of Dependency Walker CAN monitor a running process and tell you what DLLs are dynamically loaded.

Or you could hit http://www.sysinternals.com and grab one of their utilities - I think process viewer is the one you want - tells you what DLLs a process has loaded.

Of course, you've actually got to let the thing run in order to have something to monitor. Best unplug your net connection while you do this.

Chris Tavares
Tuesday, March 04, 2003

might be quite a bit offtopic but I'd like to think the best spyware deleter is AdAware.

Its a program designed to detect (and delete) spyware and for the time I've been using it, it works fine..

Might help ya out...

url:http://www.lavasoftusa.com/software/adaware/

Nathan Brouwer
Tuesday, March 04, 2003

Thank you guys very much!

Nat Ersoz
Tuesday, March 04, 2003

If you have Microsoft Visual C++ installed, DEPENDS.EXE is a great dependency walker.

runtime
Tuesday, March 04, 2003

Actually, the version at http://www.dependencywalker.com is an updated and improved version of the depends.exe that ships with VC++.

Chris Tavares
Tuesday, March 04, 2003

*  Recent Topics

*  Fog Creek Home