Have a static lib, is there a simple way to know it is for 32 bit or 64 bit?

后端 未结 4 1588
一向
一向 2020-12-23 19:11

Is there any tool that can directly test if a library is made for 32 or 64 bit?

4条回答
  •  遥遥无期
    2020-12-23 19:28

    You can use dumpbin utility with /headers option

    It returns whether the library was built for 32 or 64 bit architecture.

    Check DUMPBIN Reference for details.

    Example usage:

    c:\>dumpbin libXYZ.lib /headers
    

提交回复
热议问题