Get list of modules loaded in a process with Visual Basic 6

I need to be able to pass a process id to a function and then have that function populate a listbox with all of the loaded modules. This needs to be in VB6 and should be able to work with Windows 7  32 and 64 bit. I found some code and it sorta works, but it is inaccurate.
advcomAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
advcomConnect With a Mentor Author Commented:
Well, I thought there were duplicate dlls being shown, but after I had it show the full path to the dll's, I noticed that the two dll's have different paths. Guess there is not an issue after all.
0
 
DhaestConnect With a Mentor Commented:
>> but it is inaccurate

Can you show us some code. What is not accurate ? Only on a specific system (fe 32bit or 64bit) ?
0
 
advcomAuthor Commented:
I figured it out myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.