troubleshooting Question

dll's loaded system wide

Avatar of ElmerFud
ElmerFud asked on
12 Comments1 Solution268 ViewsLast Modified:
I'm trying to get a simple list of all the dll's currently attached to all the processes currently running.

Right now, I'm using psapi and toolhelp api.  Both of these API's require you first enumerate the processes and pass the process ids one at a time to gain a list of dlls (modules) accociated with each respective process.  This is dandy and works well.  The problem is that it doesn't work fast.  It's a bloody pig!  Many of the loaded modules are duplicated accross all the processes (system APIs, hooks, etc).  I'm wasting many extra cycles reading this redundant junk.

Is there some API or helper dll jiggy to get all the modules attached to all the processes without any duplicates (in a timely manor)?

Thanks in advance,
Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros