BEGIN_MSG_MAP_EX 破坏了 Visual Studio 2005 智能感知?

发布于 2024-07-09 21:38:33 字数 293 浏览 8 评论 0原文

我有一个使用 WTL/ATL BEGIN_MSG_MAP_EX 宏进行消息处理的 C++ 应用程序。 我使用 atlcrack.h 中的一些宏。

当我们将项目升级到 Visual Studio 2005 时,智能感知表现得很疯狂。 我已经追踪到 BEGIN_MSG_MAP_EX 宏的行为与智能感知的行为不正确。 但是,我找不到继续使用 BEGIN_MSG_MAP_EX 和 Visual Studio 2005 的方法。

我是否必须重写所有旧的消息处理程序并停止使用 BEGIN_MSG_MAP_EX 还是有其他修复方法?

I have a C++ application using WTL/ATL BEGIN_MSG_MAP_EX macros for message handling. I use some macros from atlcrack.h.

When we upgraded the projects to Visual Studio 2005, intellisense acts crazy. I've tracked the behavior down to the BEGIN_MSG_MAP_EX macro not behaving correctly with intellisense. However, I can not find a way to continue using BEGIN_MSG_MAP_EX and Visual Studio 2005.

Do I have to rewrite all my old message handlers and stop using BEGIN_MSG_MAP_EX or is there another fix?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

温柔嚣张 2024-07-16 21:38:33

我已经使用 WTL 多年了,还没有遇到过这个问题,但我也发现 VS2005/2008 中默认的 Intellisense 几乎没用——它无缘无故地停止工作。 如果您希望 Intellisense 按照上帝的意图工作,我建议您尝试 Visual Assist X(30 天免费试用) - 它可能让您的问题消失 - 比更改代码来解决问题更好IDE问题?

http://www.wholetomato.com/

I've been using WTL for years and haven't come across this issue, but I also find the default Intellisense in VS2005/2008 next to useless - it stops working for no apparent reason. If you want Intellisense to work the way God intended, I recommend you try Visual Assist X (free 30 day trial) - it might make your problem disappear - got to be better than changing your code to work around IDE problems?

http://www.wholetomato.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文