Iterate thru imported functions in a DLL?

Started by
1 comment, last by ajones 18 years, 4 months ago
Hi, I've been trying to find a relatively simple way of doing this but can't find one. I need to iterate of somehow list all the imported proc-address (functions) in a DLL. I'm writing a generic DLL runner for debuggin purposes that allows to user to browse and load a DLL and then invoke one of the functions in that DLL. Any ideas? Thanks.
<a href="http://www.purplenose.com>purplenose.com
Advertisement
I suspect that you can use dbghelp.dll for this, even without a symbol file.
Depending on how much work you want to do, you can also write your own portable executable (PE) reader. An appropriate google search should provide you with all you need to get started.

This topic is closed to new replies.

Advertisement