[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 913
  • Last Modified:

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.
0
advcom
Asked:
advcom
  • 2
2 Solutions
 
DhaestCommented:
>> 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:
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
 
advcomAuthor Commented:
I figured it out myself
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now