Hi guys, I have the following code in a sample project.
HRESULT hr = domPtr.CreateInstance(_T("msxml2.domdocument"));
VARIANT_BOOL succ, asyncTRUE;
asyncTRUE = false;
_variant_t fl = _T("myFile.xml");
hr = domPtr->put_async(asyncTRUE);
hr = domPtr->load(fl, &succ);
(All my HRESULTS return success by the way)
why is it that domPtr->load(fl, &succ) always gives succ as -1???
I guess this indicates an error but I don't see why.