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?
+2
A:
Exactly. They are stored in DLL/EXE export header. You can see it with dumpbin.exe.
Pavel Radzivilovsky
2010-01-27 22:21:10
Thanks, i'll look into that
daniel
2010-01-27 22:31:26
+1
A:
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.
dearme
2010-01-28 03:14:24