]> granicus.if.org Git - curl/commitdiff
Building Windows DLLs and C run-time (CRT) linkage issues
authorYang Tse <yangsita@gmail.com>
Wed, 4 Apr 2007 18:03:28 +0000 (18:03 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 4 Apr 2007 18:03:28 +0000 (18:03 +0000)
docs/INSTALL

index 7b98ab2154073eb1183835fa4c05391bbe98e68b..60a5b1f0265c97ee616f87c52af597ad7a339cc4 100644 (file)
@@ -147,6 +147,29 @@ UNIX
 Win32
 =====
 
+   Building Windows DLLs and C run-time (CRT) linkage issues
+   ---------------------------------------------------------
+
+   As a general rule, building a DLL with static CRT linkage is highly
+   discouraged, and intermixing CRTs in the same app is something to
+   avoid at any cost.
+
+   Reading and comprehension of Microsoft Knowledge Base articles
+   KB94248 and KB140584 is a must for any Windows developer. Especially
+   important is full understanding if you are not going to follow the
+   advice given above.
+
+   KB94248  - How To Use the C Run-Time
+              http://support.microsoft.com/kb/94248/en-us
+
+   KB140584 - How to link with the correct C Run-Time (CRT) library
+              http://support.microsoft.com/kb/140584/en-us
+
+   If your app is misbehaving in some strange way, or it is suffering
+   from memory corruption, before asking for further help, please try
+   first to rebuild every single library your app uses as well as your
+   app using the debug multithreaded dynamic C runtime.
+
    MingW32
    -------