1

Possible Duplicate:
Win32 API to enumerate dll export functions?

How do we read the exports table from a dll using C or C++?

Community
  • 1
  • 1
小太郎
  • 5,510
  • 6
  • 37
  • 48
  • Exactly what I wanted. Odd that I couldn't find it – 小太郎 Nov 26 '10 at 22:43
  • I misunderstood your question because you are missing a comma between using and C. So I thought you were look for a tool to read the exports table from a DLL where the DLL was written in C or C++ !! :)) – T33C Nov 27 '10 at 22:53

1 Answers1

1

The quick and dirty way would be to invoke Dumpbin /Exports on the DLL, and parse the output into the form you want. Are your requirements more complex than this?

Steve Townsend
  • 53,498
  • 9
  • 91
  • 140
  • 1
    C will be undecorated. For C++ you will find "undname /show_flags" necessary to demangle. –  Nov 26 '10 at 22:31