如何得到某个库的APIs清单
如何得到某个库所有的APIs?
1. 找到你想要的库所在路径,比如coredll.bin在“C:\Program Files\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i\coredll.lib”
2. 打开cmd,键入“dumpbin /EXPORTS "C:\Program Files\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i\coredll.lib" > F:\coredll.txt”
1. 找到VCVARS32.bat,比如在我的机器上其路径为:C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat
2. 将VCVARS32.bat拖放至cmd提示符处,回车
3. 这时你应该可以看到“Setting environment for using Microsoft Visual Studio 2005 x86 tools.”,这样就OK啦。
1. 找到你想要的库所在路径,比如coredll.bin在“C:\Program Files\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i\coredll.lib”
2. 打开cmd,键入“dumpbin /EXPORTS "C:\Program Files\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i\coredll.lib" > F:\coredll.txt”
3. 在F:\coredll.txt你就可以看到coredll.lib的APIs清单了,下面为截取其中的某一段:
50 GetProcessHeap
1727 GetProcessIDFromIndex
640 GetProcessIndexFromID
536 GetProcessVersion
1727 GetProcessIDFromIndex
640 GetProcessIndexFromID
536 GetProcessVersion
1. 找到VCVARS32.bat,比如在我的机器上其路径为:C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat
2. 将VCVARS32.bat拖放至cmd提示符处,回车
3. 这时你应该可以看到“Setting environment for using Microsoft Visual Studio 2005 x86 tools.”,这样就OK啦。

浙公网安备 33010602011771号