开发者

Update an href on an IHTMLLinkElement

I need to update the contents of an href on an IHTMLLinkElement. What I've come up compiles but causes an error as soon as it's execu开发者_如何学Pythonte

static const CComBSTR href(L"http://www.google.com");
spLinkElement->put_href(href); // IHTMLLinkElement

The error I get is

Program: C:\Program Files\Internet Explorer\IEXPORER.EXE
File: c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlcomcli.h
Line: 154


Try checking if RPC service is enabled and running ...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜