文档加载不返回 [英] Document Load Does Not Return

查看:50
本文介绍了文档加载不返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建新帖子(之前的评论在此处发布:  http://social.msdn.microsoft.com/Forums/eu/xmlandnetfx/thread/85b0947c-b2da-4d90-944f-51acc0e9538a )。

Creating new post (previous comment made here: http://social.msdn.microsoft.com/Forums/eu/xmlandnetfx/thread/85b0947c-b2da-4d90-944f-51acc0e9538a).

I我正在使用msxml6.dll,版本6.30.7601并且间歇性地,当我加载load()时,加载永远不会返回。我一直无法在网上找到任何关于此事的信息。有什么建议吗? 

I'm 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. 

_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);
}

推荐答案

你能分享调用堆栈吗?


这篇关于文档加载不返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆