Title: Deleting char* returned from DOMString.transcode() in VC++ 6.0
You appear to be doing The Right Thing, but if you're using other libraries, it's possible that one of them is bringing in the wrong runtime. Try using Depends.exe (http://www.dependencywalker.com/) to inspect the list of DLLs that your program will load.
 
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?
 
-----Original Message-----
From: Gary Marsh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 4:55 PM
To: [EMAIL PROTECTED]
Subject: RE: Deleting char* returned from DOMString.transcode() in VC++ 6.0

 Jesse;
 
This brings up a good question - Xerces' debug version generates a .dll and a .lib but in the
VC++    "Setting options C/C++ tab; Code Generation; Use run-time library option"  I selected
"Debug Multithreaded DLL".  Is this the correct selection or should it be "Debug Multithreaded"?
 
Gary

Reply via email to