<root> <node command="">some info</node> </root>
#import "MSXML3.dll" named_guids CoInitialize(NULL); MSXML2::IXMLDOMDocumentPtr xmldoc = NULL; HRESULT hr = xmldoc.CreateInstance(MSXML2::CLSID_DOMDocument); VARIANT_BOOL success = xmldoc->load( CComVariant("c:\\test.xml") ); if (success == VARIANT_TRUE) { AfxMessageBox("load ok"); } else { AfxMessageBox("load fail"); } xmldoc = NULL; CoUninitialize();
parseError
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)