Use /MDd when you are building against our debug libraries, or against your
own Xerces version built with the same options. use /MD when building
against our production libraries, or against your own Xerces version built
with the same options.

I.e. use the same runtime option in both places, that the crux of the rule.

--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]



-----Original Message-----
From: Bil Mason [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: RE: Deleting char* returned from DOMString.transcode() in VC++
6. 0


For anyone who uses cl.exe (MSVC command line compiler) from the command
line (like those of us who build on multiple platforms so we use a make
system), you should use the /MDd option.  This:

"Defines _DEBUG, _MT, and _DLL so that debug multithread- and DLL-specific
versions of the run-time routines are selected from the standard .H files.
It also causes the compiler to place the library name MSVCRTD.LIB into the
.OBJ file. "

>From MSVC 6.0 Programmers Guide - "Use Runtime Library" topic.

We never needed this option before using Xerces-C so when I originally built
the code, I had a TON of those msvcrt debug messages (worked fine when NOT
built with debug though).  Adding this switch solved my problems.

[Bil Mason] 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 5:49 PM
To: [EMAIL PROTECTED]
Subject: RE: Deleting char* returned from DOMString.transcode() in VC++ 6. 0


 select  "Debug Multithreaded DLL".    





======================= Confidentiality Statement ======================= 
The information contained in this message and any attachments is 
intended only for the use of the individual or entity to which it is 
addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL 
and exempt from disclosure under applicable law.  If you have received 
this message in error, you are prohibited from copying, distributing, or 
using the information.  Please contact the sender immediately by return 
e-mail and delete the original message from your system. 
===================== End Confidentiality Statement =====================  



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to