Document Load Does Not Return

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Creating new post (previous comment made here: http://social.msdn.microsoft.com/Forums/eu/xmlandnetfx/thread/85b0947c-b2da-4d90-944f-51acc0e9538a http://social.msdn.microsoft.com/Forums/eu/xmlandnetfx/thread/85b0947c-b2da-4d90-944f-51acc0e9538a ).
Im using msxml6.dll, version 6.30.7601 and intermittently, when I cal load(), load never returns. I have been unable to find anything online about this. Any suggestions?

The file is a file on the local file system.

<pre class="prettyprint" style=" _bstr_t bzTrAppsFile ;
CComPtr<MSXML2::IXMLDOMDocument3> doc;
doc.CoCreateInstance(__uuidof(MSXML2::DOMDocument60));
HRESULT res = GetPolicyAgentFileName(bzTrAppsFile.GetAddress()) ;
VARIANT_BOOL success;
if (SUCCEEDED(res))
{
_variant_t filename((wchar_t*)bzTrAppsFile);
res = doc->load(filename, &success);
}[/code]
<br/>


<br/>

View the full article
 
Back
Top