Reputation: 45
I've done some googling but haven't really found much. How does GetProcAddress work? What goes on behind the scenes? Do the method names and their corresponding address get stored in meta data somewhere?
Upvotes: 0
Views: 1680
Reputation: 11
Look for Matt Pietrek's stuff on PE file format or his book Windows 95 System Programming Secrets. There are bounchs of custom implementatios of GetProcAddress to look in to it.
Upvotes: 1
Reputation: 19104
Exactly. They are stored in DLL/EXE export header. You can see it with dumpbin.exe.
Upvotes: 4