DbXmlValue.asString()

Apr 2, 2009 at 8:27 PM
Hi,

great job!!!

i often get memory violation exception by DbXmlValue.asString().

your code there:

try {return gcnew String(GetInnerObject()->asString().c_str()); } rethrowexception();

i find thats not a safe way to convert std string to System::String. i also wrote putDocument() for XmlInputStream(useful for large input file) and going to write XmlEventReader for DbXmlValue.asEventReader(). If your wrapper needs it, i'll give it to you.