>From DOMString.hpp ahead of the transcode() declaration:
* Returns a copy of the string, transcoded to the local code page. The
* caller owns the (char *) string that is returned, and is responsible
* for deleting it.
I am running into problems deleting the resulting char array. If I try to do
something such as:
DOMString str("hello");
delete [] str.transcode();
then in debug mode with debug heap traces enabled, a breakpoint is called
from _CrtIsValidHeapPointer() in DGBHEAP.C and the following error is
output:
HEAP[xhcmc-debug.exe]: Invalid Address specified to RtlValidateHeap( a30000,
938c70 )
What am I doing wrong here?
Thanks,
-Shawn
===============================
| Shawn A. Wilson |
| http://www.shawn-wilson.com |
| [EMAIL PROTECTED] |
===============================
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]