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 at 02:06

hw77041's gravatar image

hw77041
1111


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

link

answered Jun 16 at 10:35

chilkat's gravatar image

chilkat ♦♦
12.7k317362463

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:

×67

Asked: Jun 16 at 02:06

Seen: 171 times

Last updated: Jun 16 at 10:35

powered by OSQA