aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-04 18:03:28 +0000
committerYang Tse <yangsita@gmail.com>2007-04-04 18:03:28 +0000
commit09dd2d3856c9d5af18bdfc89ced5228d0c1e6267 (patch)
tree50e6235a53f39e0e6a4945385ead94488ed499f7
parent5625e5d5b87cf4037705fc03df9e6c9f4bcdf0a1 (diff)
Building Windows DLLs and C run-time (CRT) linkage issues
-rw-r--r--docs/INSTALL23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 7b98ab215..60a5b1f02 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -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
-------