You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Chris Hill <ch...@wolfram.com> on 2001/04/20 18:32:47 UTC

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

At 07:31 AM 4/20/2001, you wrote:
>This raises a question for me. The runtime DLL issue has never come up for 
>me, because we link statically. I just ran Depends.exe against our 
>program, and discovered that ws2_32.dll brings in msvcrt.dll. As far as 
>I'm aware, Xerces needs Winsock (at least in some circumstances), and I 
>can't find a debug version of ws2_32. Would this cause problems for 
>programs that link Xerces dynamically, at least in some cases? If so, what 
>can be done about it?

Doesn't the problem only occur when memory is allocated in one runtime and 
freed by another?  Many libraries intentionally force memory to be 
allocated and deallocated in the same place (either by the caller or the 
callee).

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org