开发者

How to check the MSVC library type?

There are 2 types of library (static/import). How can I get its type other than the name (the type information could be included in the file name such as libcmt.li开发者_如何转开发b, but this could not be the case for customer library).


Here's a copy of the Microsoft document specifing formats for both static and import .lib files:

http://kishorekumar.net/pecoff_v8.1.htm

Another approach might be to take a couple of libraries, look at the header bytes with "dumpbin" and your favorite hex editor. It should be pretty easy to identify a .lib file from the "magic numbers" in the header.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜