TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

This API doesn't exist outside this article?

60 点作者 walkon超过 11 年前

7 条评论

gkoberger超过 11 年前
This is from 2009. The doc still exists, and the API still does not. But who cares; a workaround was posted and everything is working as it should.<p>That being said, documentation is really, really hard -- especially when you have thousands and thousands of pages. Unfortunately, things get out of sync. I just want to know how it managed a 4&#x2F;10.
mmastrac超过 11 年前
It&#x27;s a cute comment, but the answer is in there. I don&#x27;t think Microsoft is highly motivated to update some of this ancient IE embedding lore:<p><pre><code> hr = pDoc-&gt;QueryInterface(__uuidof(IServiceProvider), (void **)&amp;spServiceProvider); hr = spServiceProvider-&gt;QueryService(__uuidof(ITimerService), &amp;spTimerService); hr = spTimerService-&gt;CreateTimer(NULL, ppTimer); </code></pre> (did someone at MSFT see this HN post today and update the comment?)
评论 #7159494 未加载
评论 #7159237 未加载
snarfy超过 11 年前
If you are using COM you should already know how to instantiate an object from it&#x27;s UUID. That&#x27;s all the provided example code is doing. It&#x27;s not outrageous for the author to assume as much from the reader. It&#x27;s basic COM 101.
magic_haze超过 11 年前
I&#x27;m confused, what is the context here? The comment is humorous, but the microsoft rep did reply back with (what seems like) working code. In 2009.<p>Also, why does one need the MSHTML Timer API these days?
ginko超过 11 年前
On a somewhat related note:<p>Starting with version 2.0 the OpenGL spec requires the implementation of perlin noise functions noise{1,2,3,4}.<p>However there&#x27;s no major OpenGL vendor that implements this. In most cases the noise functions just return 0.<p><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise.xml" rel="nofollow">http:&#x2F;&#x2F;www.opengl.org&#x2F;sdk&#x2F;docs&#x2F;manglsl&#x2F;xhtml&#x2F;noise.xml</a>
isaacb超过 11 年前
4 out of 10 rated this helpful
wirrbel超过 11 年前
I sometimes have the impression that msdn articles are from time to time depublicized and some information is taken offline either under management directions or just lost in migration. Its quite amazing that CodeProject is more useful than the docs of a company like Microsoft, who actually sells MS visual studio for money.
评论 #7159362 未加载