xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bertoni <dbert...@apache.org>
Subject Re: delete [] crashes for transcode.
Date Tue, 01 Aug 2006 16:05:51 GMT
feanoe wrote:
> domstring dose not have a release function, but anyway, I changed xercis code
> and
> added a release(char *) function.
> the problem is because the memory is allocated in xercis dll and my program
> tries to free the memory.
> it works ok in VC6 but not work in VC7. how to make it work in VC7 (using
> debug build for now)

delete []  szVal;

is correct.   You should verify that you are building your application 
correctly with VC7.  All of the executables should be using the same 
run-time -- the Debug Multi-threaded DLL run-time in your case.


View raw message