R
ragi
It's part of code:
IXMLDOMElement *pPar = NULL, *pChild= NULL;
IXMLDOMNode *pNode = NULL;
bstr = SysAllocString(L"1sth");
pXMLDom->createElement(bstr, &pPar);
SysFreeString(bstr);
bstr = SysAllocString(L"2sth");
pXMLDom->createElement(bstr, &pChild);
SysFreeString(bstr);
pPar->appendChild(pChild, &pNode),
and now when I'm trying get parent from pChild
pNode = NULL;
pChild->get_parentNode(pNode);
pNode have diffrent address than pPar. How can I get proper address of
pPar from pChild ?????
IXMLDOMElement *pPar = NULL, *pChild= NULL;
IXMLDOMNode *pNode = NULL;
bstr = SysAllocString(L"1sth");
pXMLDom->createElement(bstr, &pPar);
SysFreeString(bstr);
bstr = SysAllocString(L"2sth");
pXMLDom->createElement(bstr, &pChild);
SysFreeString(bstr);
pPar->appendChild(pChild, &pNode),
and now when I'm trying get parent from pChild
pNode = NULL;
pChild->get_parentNode(pNode);
pNode have diffrent address than pPar. How can I get proper address of
pPar from pChild ?????