views:

666

answers:

3

Hi,

Is there a tool that I can use to see what functions are exported by a static library? I am getting linker errors in VS2005, and I want to make sure that a static library I am including does indeed have the proper functions.

I did find a lot of stuff for viewing dynamic library exports, but a search for static library viewers wasn't so lucky. Thanks!

+1  A: 

It looks like the dumpbin command might do what you need. In particular, see the /SYMBOLS command line switch.

Greg Hewgill
A: 

I believe under Linker->General properties if you turn on Show Progress (the /VERBOSE switch), it will tell you where it is looking for link symbols during linking. At least this way you know where it is looking for the symbols.

Nathan
A: 

DLL Export View does this.

GrayWizardx
No luck trying it on static libraries.
futureelite7
Hmmm. I am fairly sure I have used it on static libraries in the past.
GrayWizardx
It returns nothing at all when I tried to open a lib file with it. They probably have different formats.
futureelite7