Static Library Dependencies

I have a static library (.lib file) on the Windows platform, I want to know the dependent version of the CRT library when creating the library. I do not have the source code of the .lib file, any ideas?

thanks in advance George

+3
source share
1 answer

Static libraries do not have such dependencies. When a library is built, it has nothing to do with runtime, all it knows is function declarations in the implementation header files that do not provide any version information.

, , MS, , , ( , ). ​​:

cl.exe cmd -nologo -MTd -W3 -Gm -GX -ZI -DWIN32 -D_DEBUG  (more stuff)

-MTd , Multi-Threaded Debug..

+5

Source: https://habr.com/ru/post/1707405/


All Articles