Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - RE: Discrepancy in MSXML APIs >Thread Next - RE: Discrepancy in MSXML APIs RE: Discrepancy in MSXML APIsTo: NULL Date: 6/2/2004 8:08:00 AM Hi, >Who releases the memory allocated by for example: IXMLDOMDocumentPtr m_plDomDocument; IXMLDOMElementPtr m_pDocRoot; declared in XMLDOMFromVCDlg.h > The IXMLDOMDocumentPtr and IXMLDOMElementPtr are the smart pointers which wrapped the corresponding XMLDOM interface, they will release themselves automatically(while out of their scope), please refer to the following docs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html /DOM_HDI_cpp_getready_smart.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomg/html /msdn_smart.asp Thanks! Best regards, Gary Chang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
