dear list,
i found myself stuck again in XMLString::transcode( ),
**after** following function (ie. in strX destructor ( deleting transcoded
string) )
i'll get ( in VC7 on w2k box ) message:
Unhandled exception at 0x1020a1fd (msvcr70d.dll)
and break at dbgheap.c line 1154
please note i am **sure** i am using all my projects with Multi-threaded
debug DLL
(/MDd) same as project XercesLib -which created my xerces***.dll ( i have
checked release/debug (aka /MD vs. /MDd ) too )
any hint?
has this something to do with bug #11915
thank you in advance
zdenek
--example 'problem' func--
void myFunc( const XMLCh* value ) {
strX tmp( value );
} // here the 'crash'
--my strX class--
class strX {
public:
strX( const XMLCh* const toTranscode ) {
if(!toTranscode) { _localForm=0; return; }
_size=XMLString::stringLen( toTranscode );
_localForm=new char[_size+1];
XMLString::transcode( toTranscode, _localForm, _size+1 );
}
~strX() { delete[] _localForm; }
const char* localForm() const { return _localForm; }
private:
char* _localForm;
unsigned _size;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]