惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
H
Heimdal Security Blog
K
Kaspersky official blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Schneier on Security
G
GRAHAM CLULEY
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
C
Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
Security Archives - TechRepublic
Security Archives - TechRepublic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
P
Proofpoint News Feed
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
S
Security Affairs
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
N
News | PayPal Newsroom
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
NISL@THU
NISL@THU

博客园 - apple0809

推箱子 directshow DirectShow 65 410 画图 VARIANT - apple0809 - 博客园 wince 注册 com组件 - apple0809 wince5.0 光标 得到dialog的hdc hdc - apple0809 - 博客园 启动exe - apple0809 - 博客园 文件系统 兴趣 兴趣 兴趣。 兴趣 期望
VS2005 WTL add ATL error! Solution.....
apple0809 · 2009-11-06 · via 博客园 - apple0809

WTL add ATL object error: ATL classes can only be added to MFC EXE and MFC Regular DLL projects or projects with full ATL support.

Modify C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\1033\common.js

change the line: in function IsATLProject()
        if (strTypeString == "ATL::CComModule" || strTypeString == "ATL::CAutoThreadModule")
        to:
        if (strTypeString == "ATL::CComModule" || strTypeString == "ATL::CAutoThreadModule" || strTypeString  =="WTL::CServerAppModule" || strTypeString == "WTL::CAppModule")

you can find three parts about  "if (strTypeString == "ATL::CComModule" || strTypeString == "ATL::CAutoThreadModule")"

I changed all the three parts.

Now I can use my Vs2005 WTL add a ATL project.