know if .lib is static or import

后端 未结 2 1814

I have .lib file compiled from C code. How I know if this self-contained static library or just an import lib and DLL will be needed at runtime? Is there some <

2条回答
  •  感动是毒
    2020-11-28 08:35

    Look in its accompanying header files ,if the function are 'decorated' with __declspec(dllimport) that it's an import library. Or look for an accompanying .def file ,that also tells you that it's an import library.

提交回复
热议问题