(e-mail address removed) says...
And how might this work on a non-Microsoft system, which (hint hint)
*also have C implementations*?
You might like to look at:
http://www.azillionmonkeys.com/qed/pe.zip
Its specific to WATCOM C/C++ for *building* DLLs and accessing them from *DOS*
in a way that is seperate from the way Microsoft does in its DLLs (Microsoft's
conventions in general are not followed.) However, it also contains sources
for reading PE executables (and DLLs), and could be modified to access ordinary
Windows DLLs.
I've added the comp.programming newsgroup, so that people who are interested in
answers can chime in/see this as well.