打开方式:打开VS(2019)->工具->命令行->开发者命令提示。
打开后的界面:
查看.lib的代码
C:\Users\asd\source\repos>dumpbin /all /rawdata:none D:\00\demo\libzxing.lib >D:\00\demo\1.txt
输出太多了就截取了一部分
查看.DLL代码(有没有.txt问题都不大,无非是一个显示在控制台一个显示在txt中)
dumpbin -exports D:\00\demo\libopencv_highgui440.dll
输出的话自己看
Microsoft (R) COFF/PE Dumper Version 14.28.29915.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file D:\00\demo\libopencv_highgui440.dll
File Type: DLL
Section contains the following exports for libopencv_highgui440.dll
00000000 characteristics
5F22A65E time date stamp Thu Jul 30 18:52:14 2020
0.00 version
1 ordinal base
498 number of functions
498 number of names
ordinal hint RVA name
1 0 00024E90 _ZN2cv10moveWindowERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii
2 1 00024F10 _ZN2cv10selectROIsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11_InputArrayERSt6vectorINS_5Rect_IiEESaISD_EEbb
3 2 00025470 _ZN2cv11RotatedRectC1ERKNS_6Point_IfEERKNS_5Size_IfEEf
4 3 00025490 _ZN2cv11RotatedRectC1Ev
5 4 000254A0 _ZN2cv11RotatedRectC2ERKNS_6Point_IfEERKNS_5Size_IfEEf
6 5 000254C0 _ZN2cv11RotatedRectC2Ev
//下面就省略吧
VS中dumpbin.exe工具的使用(这里面有dumpbin的一些其他的指令)