如何使用 IE9 Beta 库中的接口?

发布于 2024-10-08 21:23:56 字数 698 浏览 0 评论 0原文

我在 Internet Explorer 扩展开发中提出了类似的问题论坛但没有得到答案。我发现不仅我有这个 问题

有人使用过这些 IE9 Beta 的界面? 我正在使用 ATL 查询 IHTMLDocument7 但我得到 NULL 指针,

CComQIPtr<IHTMLDocument7> document7 = document3;
if(document7)
{
//do sth with document7
}

但 document7 是 NULL。其他接口(IHTMLDocument1-6)工作正常。

I asked similar question at Internet Explorer Extension Development Forum but didn't get the answer. I found that not only me has this problem

Did anyone used any of these interfaces from IE9 Beta?
I'm querying for IHTMLDocument7 using ATL but I get NULL pointer

CComQIPtr<IHTMLDocument7> document7 = document3;
if(document7)
{
//do sth with document7
}

but document7 is NULL. Other interfaces (IHTMLDocument1-6) works fine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文