如何将 WTL 和 ATL 添加到 Visual Studio C++ express 2008

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/71659/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-27 12:38:36  来源:igfitidea点击:

How to add WTL and ATL to visual studio c++ express 2008

c++visual-studioatlwtl

提问by

I start using the visual studio c++ express 2008 at home but there is no ATL in it.
How can I add ATL to visual studio c++ express 2008?

我开始在家使用visual studio c++ express 2008,但里面没有ATL。
如何将 ATL 添加到 Visual Studio C++ express 2008?

回答by Schmoo

ATL 7.1 is now part of the Windows Driver Kit.

ATL 7.1 现在是Windows Driver Kit 的一部分

回答by Roel

ATL was only included in older versions of the SDK. Recent versions of ATL share much code with MFC and are only available with the real versions of Visual Studio, i.e. not with VS Express.

ATL 仅包含在旧版本的 SDK 中。最新版本的 ATL 与 MFC 共享许多代码,并且仅适用于 Visual Studio 的真实版本,即不适用于 VS Express。

So: to use ATL and/or MFC, you need to buy the Professional version of Visual Studio. If you are content with old versions of ATL, you can download old versions of the platform SDK from the Microsoft website.

所以:要使用 ATL 和/或 MFC,您需要购买 Visual Studio 的专业版。如果您对旧版本的 ATL 感到满意,您可以从 Microsoft 网站下载旧版本的平台 SDK。

回答by wbkang

http://codegem.org/2008/09/wtl-wizard-for-visual-studio-2008

http://codegem.org/2008/09/wtl-wizard-for-visual-studio-2008

In his modified script, replace VisualStudio to VCExpress.

在他修改后的脚本中,将 VisualStudio 替换为 VCExpress。

回答by oscarkuo

You just need to install Windows Platform SDK as described here

您只需要按照此处所述安装 Windows Platform SDK

回答by Nick

You'll need to download the platform SDK and muck around with some dependencies to get ATL.

您需要下载平台 SDK 并处理一些依赖项以获取 ATL。

There might be some more "unsavory" ways to get MFC ;) if you catch my drift. Also many institutions have educational VS licenses which are free.

可能有一些更“令人讨厌”的方法来获得 MFC ;) 如果你明白我的意思。许多机构也有免费的教育 VS 许可证。