From: Giovanni Dicanio on 27 May 2010 07:04 "dushkin" <taltene(a)gmail.com> wrote: > Giovanni, I manged to compile like this: > > MSXML::IXMLDOMDocumentPtr temp; > > temp.Attach(docPtr.Detach()); > > return temp; I would be curious if you can remove the 'temp' and just use: return CXMLItem::GetXMLNode(); Giovanni |