Make sure your project is using the same runtime as the Xerces DLL. If you are using a release build of the DLL, then your project's _release_ build should be set to Multithreaded DLL (Project settings | C/C++ tab | "Code Generation" category | "Use run-time library" setting); the project's _debug_ build should be set to use Debug Multithreaded DLL, and a DEBUG build of the Xerces DLL should be used.
-----Original Message----- From: Xerces Rule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: Re: Debug Assertion Failed Hi. Thank you for your answer, Jesse. I was reading another thread dealing with this topic: http://archive.covalent.net/xml/xerces-c-dev/2000/08/0020.xml Manu Heirbaut suggested to use a multithreaded DLL. In VC++, I set 'Debug Multithreaded DLL' at Project>Settings>C++>Code Generating (Settings for Win32 Debug). But I'm still getting the same error. NOTES: + I'm trying to develop a DLL. + I'm using Xerces-C 1.6.0 Cheers. El Tue, 22 Jan 2002 11:20:26 -0500 Jesse Pelton <[EMAIL PROTECTED]> escribi�: > See http://xml.apache.org/xerces-c/faq-parse.html#faq-26. > > -----Original Message----- > From: Xerces Rule [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 22, 2002 10:59 AM > To: [EMAIL PROTECTED] > Subject: Debug Assertion Failed > > > Hi again. > > I succeeded in inserting a function to obtain the text > string from a Node: > > void myFunciton (DOM_Node input, char *output) { > char *attrValC = input.getNodeValue().transcode(); > > try { > strcpy(output,attrValC); > delete [] attrValC; > } > catch (...) { > delete [] attrValC; > throw; > } > } > > I've got no problems with the Release Program (VC++6.0 on > NT4.0), but when executing the Debug one, I get this pop > up > error message: > ************* > Debug Assertion Failed > Program: dbgheap.c > Line: 1044 > Expression: _CtrlsValidHeapPointer(pUserData) > ************* > > I've been browsing the Internet, and there are more > similar > cases. I would be extremely obliged if anybody could > explain > me if this is an Xerces bug, a MS bug or I am to blame. > > Regards. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > _______________________________________________________________________ �Ya conoces eBay, el mayor centro de compra y venta en internet? M�viles, port�tiles, pda�s, cd�s, c�maras digitales... �Compru�balo t� mismo! http://adfarm.mediaplex.com/ad/ck/1185-5550-4234-3?RedirectEnter&partner=341 13&loc=http://www.es.ebay.com --------------------------------------------------------------------- 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]
