I have a small windows service that I just converted to VS 2015 and for some reason it's referencing vcruntime140.dll even though I'm compiling with /MT. I was wondering if by chance the 64-bit static library (v188.8.131.52) might be compiled with /MD or if anyone has experienced this. Maybe one of the 3 dependencies (see below) is referencing it?
#pragma comment(lib, "Ws2_32.lib") #pragma comment(lib, "Rpcrt4.lib") #pragma comment(lib, "crypt32.lib") #pragma comment(lib, "ChilkatRel_x64.lib")
Update... When I compile for 32-bit and link to chilkatrel.lib, the dll runtime is not referenced.
I double-checked, but everything looked correct. (/MD was not used in the project settings for the static lib builds)
I'm doing a new build now and I'll post here when finished..
Here's a new build after double-checking..
Well it ended up being me. I don't know what I was looking at previously but after checking my settings again the 64-bit runtime was DLL. Thanks for looking into this and sorry for the trouble.