问题描述
我有390个库的列表,需要将软件从实验室CVI移植到VisualC.这些依赖使我丧命.
I have a List of 390 Libraries and need to port a software from lab CVI to Visual C. Those dependencies are killing me.
我不能全部导入它们,这太过分了-并不是它们都是唯一的和/或完全可以加载的.
I cant import all of them, that would be overkill - and not all of them are unique and/or can be loaded at all.
是否有一种简单的方法来确定调用lib文件需要什么?有任何编辑器吗?
Is there an easy way to determine what calls a lib file takes?Are there any editors for this?
推荐答案
Microsoft图书馆员程序LIB.EXE允许您检查库内容(假设您正在询问静态库).它是VC ++发行版的一部分,或者至少曾经是-我不再使用VC ++.这些是可用的选项:
The Microsoft librarian program LIB.EXE allows you to examine library contents, assuming you are asking about static libraries. It's part of the VC++ distribution, or at least it used to be - I don't use VC++ any more. These are the options available:
Microsoft (R) Library Manager Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
usage: LIB [options] [files]
options:
/CONVERT
/DEBUGTYPE:CV
/DEF[:filename]
/EXPORT:symbol
/EXTRACT:membername
/INCLUDE:symbol
/LIBPATH:dir
/LINK50COMPAT
/LIST[:filename]
/MACHINE:{ALPHA|ARM|IX86|MIPS|MIPS16|MIPSR41XX|PPC|SH3|SH4}
/NAME:filename
/NODEFAULTLIB[:library]
/NOLOGO
/OUT:filename
/REMOVE:membername
/SUBSYSTEM:{NATIVE|WINDOWS|CONSOLE|WINDOWSCE|POSIX}[,#[.##]]
/VERBOSE
这篇关于您如何检查lib文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!