login about faq

I have two main projects. Project #1 links fine in debug and release mode. Project #1 links fine in debug but in release mode the error is LNK2005.

I'm using VS2008 SP1.

I have read the README.html and I have read the Chilkat blog post about Visual C++ linking: http://www.cknotes.com/?p=23

My projects are not Statically Linked.

Compared the Project Properties and they as the same !

What did I do wrong ?

asked Jun 16 '17 at 02:06

hw77041's gravatar image


I did some Google searching. The information suggests that it has to do with the MSVC runtime libs getting linked before MFC libs. If linking with ChilkatRel.lib, then these are libs that already statically linked with the MSVC runtime libs. The ChilkatRelDll.lib is what you would definitely want to use for an MFC app. (That's my best guess if your app uses MFC..)


answered Jun 16 '17 at 10:35

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Jun 16 '17 at 02:06

Seen: 1,187 times

Last updated: Jun 16 '17 at 10:35

powered by OSQA