cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Some questions regarding building libcurl with openssl

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 16 Nov 2006 16:08:25 +0100

On 16 Nov 2006 Tom Jerry wrote:

> Attached is the new dsp of mine containing all 4 configurations.

I would suggest a couple of rules of thumb that when not taken in
consideration always sooner or later lead to strange program behaviour
which is quite difficult to diagnose.

1) Never build a dll using /MT or /MTd, dll's must be built with /MD or /MDd.

2) If your program uses a single dll, you should build your program
with /MD or /MDd.

In other words, you should only use /MT or MTd if _everything_ is
going to be linked statically.

-- 
-=[Yang]=-
Received on 2006-11-16