参考:
http://longzxr.blog.sohu.com/224418149.html
http://stackoverflow.com/questions/305287/how-to-see-the-contents-of-windows-library-lib
如下图所示,在Visual Studio中,Tools -> Visual Studio 2008 Commnd Prompt,弹出命令行界面
在弹出的命令行界面中,执行
dumpbin /exports the-lib-file-you-want-to-dump.lib
【示例】
d:\Program Files (x86)\Microsoft Visual Studio 9.0\vc\bin>dumpbin.exe /exports "D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\lib\mfcm9
0u.lib"
Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\lib\mfcm90u.lib
File Type: LIBRARY
Exports
ordinal name
279 _InitMfcmDll
281 _AfxmReleaseManagedReferences
280 _AfxmEnsureManagedInitialization
274 ?SetPropertyV@CWinFormsControlSite@MFC@VisualC@Microsoft@@UAEXJGPAD@Z (public: virtual void __thiscall Microsoft::VisualC::MFC::CWin
FormsControlSite::SetPropertyV(long,unsigned short,char *))
273 ?PreTranslateMessage@CWinFormsView@MFC@VisualC@Microsoft@@MAEHPAUtagMSG@@@Z (protected: virtual int __thiscall Microsoft::VisualC::M
FC::CWinFormsView::PreTranslateMessage(struct tagMSG *))
272 ?PreCreateWindow@CWinFormsView@MFC@VisualC@Microsoft@@MAEHAAUtagCREATESTRUCTW@@@Z (protected: virtual int __thiscall Microsoft::Visu
alC::MFC::CWinFormsView::PreCreateWindow(struct tagCREATESTRUCTW &))
271 ?OnUpdate@CWinFormsView@MFC@VisualC@Microsoft@@MAEXPAVCView@@JPAVCObject@@@Z (protected: virtual void __thiscall Microsoft::VisualC:
:MFC::CWinFormsView::OnUpdate(class CView *,long,class CObject *))
270 ?OnSize@CWinFormsView@MFC@VisualC@Microsoft@@IAEXIHH@Z (protected: void __thiscall Microsoft::VisualC::MFC::CWinFormsView::OnSize(un
signed int,int,int))
269 ?OnInitialUpdate@CWinFormsView@MFC@VisualC@Microsoft@@MAEXXZ (protected: virtual void __thiscall Microsoft::VisualC::MFC::CWinFormsV
iew::OnInitialUpdate(void))
276 ?OnHandleCreatedHandler@CWinFormsControlSite@MFC@VisualC@Microsoft@@QAEXXZ (public: void __thiscall Microsoft::VisualC::MFC::CWinFor
msControlSite::OnHandleCreatedHandler(void))
268 ?OnHandleCreated@CWinFormsControlSite@MFC@VisualC@Microsoft@@UAEXU?$gcroot@P$AAVObject@System@@@@U?$gcroot@P$AAVEventArgs@System@@@@
@Z (public: virtual void __thiscall Microsoft::VisualC::MFC::CWinFormsControlSite::OnHandleCreated(struct gcroot<class System::Object ^>,struct gcroot
<class System::EventArgs ^>))
267 ?OnCmdMsg@CWinFormsView@MFC@VisualC@Microsoft@@MAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z (protected: virtual int __thiscall Microsoft::Visu
alC::MFC::CWinFormsView::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *))
266 ?OnActivateView@CWinFormsView@MFC@VisualC@Microsoft@@MAEXHPAVCView@@0@Z (protected: virtual void __thiscall Microsoft::VisualC::MFC:
:CWinFormsView::OnActivateView(int,class CView *,class CView *))
265 ?GetThisMessageMap@CWinFormsView@MFC@VisualC@Microsoft@@KGPBUAFX_MSGMAP@@XZ (protected: static struct AFX_MSGMAP const * __stdcall M
icrosoft::VisualC::MFC::CWinFormsView::GetThisMessageMap(void))
264 ?GetThisClass@CWinFormsView@MFC@VisualC@Microsoft@@SGPAUCRuntimeClass@@XZ (public: static struct CRuntimeClass * __stdcall Microsoft
::VisualC::MFC::CWinFormsView::GetThisClass(void))
263 ?GetStyle@CWinFormsControlSite@MFC@VisualC@Microsoft@@UBEKXZ (public: virtual unsigned long __thiscall Microsoft::VisualC::MFC::CWin
FormsControlSite::GetStyle(void)const )
262 ?GetRuntimeClass@CWinFormsView@MFC@VisualC@Microsoft@@UBEPAUCRuntimeClass@@XZ (public: virtual struct CRuntimeClass * __thiscall Mic
rosoft::VisualC::MFC::CWinFormsView::GetRuntimeClass(void)const )
261 ?GetProperty@CWinFormsControlSite@MFC@VisualC@Microsoft@@UBEXJGPAX@Z (public: virtual void __thiscall Microsoft::VisualC::MFC::CWinF
ormsControlSite::GetProperty(long,unsigned short,void *)const )
260 ?GetMessageMap@CWinFormsView@MFC@VisualC@Microsoft@@MBEPBUAFX_MSGMAP@@XZ (protected: virtual struct AFX_MSGMAP const * __thiscall Mi
crosoft::VisualC::MFC::CWinFormsView::GetMessageMap(void)const )
259 ?DoVerb@CWinFormsControlSite@MFC@VisualC@Microsoft@@UAEJJPAUtagMSG@@@Z (public: virtual long __thiscall Microsoft::VisualC::MFC::CWi
nFormsControlSite::DoVerb(long,struct tagMSG *))
258 ?CreateOrLoad@CWinFormsControlSite@MFC@VisualC@Microsoft@@UAEJABVCControlCreationInfo@@@Z (public: virtual long __thiscall Microsoft
::VisualC::MFC::CWinFormsControlSite::CreateOrLoad(class CControlCreationInfo const &))
257 ?CreateControlCommon@CWinFormsControlSite@MFC@VisualC@Microsoft@@UAEJPAVCWnd@@ABU_GUID@@ABVCControlCreationInfo@@PB_WKPBUtagPOINT@@P
BUtagSIZE@@IPAVCFile@@HPA_W@Z (public: virtual long __thiscall Microsoft::VisualC::MFC::CWinFormsControlSite::CreateControlCommon(class CWnd *,struct
_GUID const &,class CControlCreationInfo const &,wchar_t const *,unsigned long,struct tagPOINT const *,struct tagSIZE const *,unsigned int,class CFile
*,int,wchar_t *))
256 ?Create@CWinFormsView@MFC@VisualC@Microsoft@@MAEHPB_W0KABUtagRECT@@PAVCWnd@@IPAUCCreateContext@@@Z (protected: virtual int __thiscal
l Microsoft::VisualC::MFC::CWinFormsView::Create(wchar_t const *,wchar_t const *,unsigned long,struct tagRECT const &,class CWnd *,unsigned int,struct
CCreateContext *))
Summary
4 .CRTMP$XCB
4 .CRTMP$XCY
11 .bss
11D0 .cormeta
20 .data
2043 .debug$S
6BC .debug$T
3C .drectve
14 .idata$2
14 .idata$3
4 .idata$4
4 .idata$5
C .idata$6
40 .rdata$ilfixup
92 .text
52 .text$yc
39 .text$yd