The lib works by all means.
I could have asked the vendor for another one but which implies cost.
If I strip it as suggested, the vendor will not support my remade version.
So, these are not options in this cruel business world, my cruel reality.
This is output before linker option is added. What does this mean?
Code:
1>------ Build started: Project: TestXXX, Configuration: Release x64 ------
1> xxx.c
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1> Generating code
1> All 222 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
1> Finished generating code
1> TestXXX.vcxproj -> C:\Users\xxxxx\Projects\TestXXX\x64\Release\TestXXX.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
This is what I get by adding /nodefaultlib:libcmt
Code:
1>------ Build started: Project: TestXXX, Configuration: Release x64 ------
1> xxx.c
1> Generating code
1> All 222 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
1> Finished generating code
1> TestXXX.vcxproj -> C:\Users\xxxxx\Projects\TestXXX\x64\Release\TestXXX.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
What did I do by that option?