At 12.52 25/08/2006 +0000, frofis wrote:
run writeProp all rigth
run writeProp second Access violation - while?

[...]
void TRkcXml::writeDocProp(DOMDocument *docWrite, WideString pathDocWrite)
{
   LocalFileFormatTarget* pXMLfile;
   DOMImplementation* impl =
DOMImplementationRegistry::getDOMImplementation(L"LS");
   DOMWriter* writer = ((DOMImplementationLS*)impl)->createDOMWriter();
   pXMLfile = new LocalFileFormatTarget(fileProp);
   writer->writeNode(pXMLfile, *docWrite);
   delete pXMLfile;
   writer->release();

********************
   delete impl;
********************

You should not delete the DOMImplementation*, as it is a static object.

Alberto

  • write xml frofis
    • Re: write xml Alberto Massari

Reply via email to