login about faq

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 (v9.5.0.55) might be compiled with /MD or if anyone has experienced this. Maybe one of the 3 dependencies (see below) is referencing it?

Thanks, Tom

#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Rpcrt4.lib")
#pragma comment(lib, "crypt32.lib")
#pragma comment(lib, "ChilkatRel_x64.lib")

asked Jan 11 at 15:08

tko365's gravatar image

tko365
1


Update... When I compile for 32-bit and link to chilkatrel.lib, the dll runtime is not referenced.

link

answered Jan 11 at 15:33

tko365's gravatar image

tko365
1

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..

link

answered Jan 11 at 17:05

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

link

answered Jan 11 at 17:23

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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.

link

answered Jan 12 at 11:58

tko365's gravatar image

tko365
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×3

Asked: Jan 11 at 15:08

Seen: 968 times

Last updated: Jan 12 at 11:58

powered by OSQA