You're probably mixing debug and retail runtimes. There's a FAQ dealing with this on the Apache site.
 
-----Original Message-----
From: Jack Bosworth [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 8:06 PM
To: [EMAIL PROTECTED]
Subject: delete parser causes crash

I'm trying to use Xerces-C++ 1.6.0 in a DLL (a plug-in).  I had the XML-related code working in a DLL with another (very simple) application, and I copied it into the "real" DLL code.  I find that the following always crashes, complaining of corrupted memory in the destructor.
 
DOMParser *parser = new DOMParser;
delete parser;
 
I am using the multithreaded DLL option in VC++ for the applications as well as for the DLL's.  I have UNICODE defined.  Is this a bug or am I missing something?
 
Thanks,
Jack Bosworth
Right Hemisphere Ltd.
[EMAIL PROTECTED]
 

Reply via email to