RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0

2001-04-19 Thread Gary Marsh
at http://marc.theaimsgroup.com/?l=xerces-c-dev&r=1&w=2. A good thread starts at http://marc.theaimsgroup.com/?l=xerces-c-dev&m=98236550531335&w=2.   -Original Message-From: Gary Marsh [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 19, 2001 3:29 P

RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0

2001-04-19 Thread Gary Marsh
esse's reply to this message, you should use:     delete [] Name;   Dave Connet -Original Message-From: Gary Marsh [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 19, 2001 12:29 PMTo: [EMAIL PROTECTED]Subject: RE: Deleting char* returned from DOMString.transcode() in VC++

RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0

2001-04-19 Thread Gary Marsh
PROTECTED]]Sent: Thursday, April 19, 2001 1:05 PMTo: '[EMAIL PROTECTED]'Subject: RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0 In addition to Jesse's reply to this message, you should use:     delete [] Name;   Dave Connet -Original Message

RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0

2001-04-19 Thread Gary Marsh
Title: Deleting char* returned from DOMString.transcode() in VC++ 6.0 Jesse;   Thanks for the tip.  I am linking to the xerces_c_1D.lib and I have the xerces_c_1_4D.dll in my path.  Upon recompile/link of my program I got the following error message during the run:       Debug Assertion Fa

Deleting char* returned from DOMString.transcode() in VC++ 6.0

2001-04-19 Thread Gary Marsh
his is the appropriate fix but it seems to work and I was able to reduce my memory loses without the debugger throwing flags.     Gary Marsh Senior Systems Developer GoShip 27721 La Paz Rd. Unit B Laguna Niguel, CA  92677 [EMAIL PROTECTED] Tel: 949-268-1094 Fax: 949-268-1001 www.gos

RE: transcode()

2001-04-10 Thread Gary Marsh
Title: RE: transcode() Hi Cad;     Just a guess but I think you probably need to do something like this:     DOMString value = newNode.getNodeValue();     char *valueT = value.transcode();               cout << "VALUE = " << valueT  << "\n";     if (