开发者

IE9 SDK with Windows SDK

I wonder wh开发者_Go百科at is the best strategy for using the new IE9 interfaces. Microsoft provides a IE9 SDK (here, under "Headers and Libraries" link), which will create a new folder under '%ProgramFiles%\Microsoft SDKs\Internet Explorer'.

However, trying to use this SDK naively (i.e. adding the Include folder to the search path) is a mess. Reason is that other include files, from the Platform SDK or from Visual Studio (for example: 'atlhost.h', will include files such as mshtml.h). When included from Platform SDK header, the mshtml.h of the platform will take precedence. When included from my own stdafx.h, the IE9 will be included. At the end, I cannot trust which file is included from where.

I've slip-streamed (copy over) the headers and libraries into the Platform SDK, but I've a strong feeling this is the wrong solution. I wonder if anyone has a better strategy.

Thanks


put the SDK ahead of Windows SDK in include and lib search path or in case of Visual C++ 2010, keep the inherited values but replace the default values with the IE SDK paths.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜