EDN Admin
Well-known member
Hi,<br/>
<br/>
I use:<br/>
MSXML2::IXMLDOMDocument2Ptr pXMLDoc;<br/>
pXMLDoc.CreateInstance(__uuidof(MSXML2:OMDocument60), NULL, CLSCTX_INPROC_SERVER);<br/>
<br/>
to read from a XML file. <br/>
<br/>
When I am done, I guess I have to free / release it. <br/>
<br/>
What is the proper way to do that? <br/>
( COMs Release method, or something else ? )<br/>
<br/>
View the full article
<br/>
I use:<br/>
MSXML2::IXMLDOMDocument2Ptr pXMLDoc;<br/>
pXMLDoc.CreateInstance(__uuidof(MSXML2:OMDocument60), NULL, CLSCTX_INPROC_SERVER);<br/>
<br/>
to read from a XML file. <br/>
<br/>
When I am done, I guess I have to free / release it. <br/>
<br/>
What is the proper way to do that? <br/>
( COMs Release method, or something else ? )<br/>
<br/>
View the full article