daniel
daniel

Reputation: 45

How does GetProcAddress work

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

Answers (2)

dearme
dearme

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

Pavel Radzivilovsky
Pavel Radzivilovsky

Reputation: 19104

Exactly. They are stored in DLL/EXE export header. You can see it with dumpbin.exe.

Upvotes: 4

Related Questions