打开.rc-File - >错误RC2104 - WS_EX_COMPOSITED未定义 [英] Opening .rc-File -> Error RC2104 - WS_EX_COMPOSITED undefined

查看:76
本文介绍了打开.rc-File - >错误RC2104 - WS_EX_COMPOSITED未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我最近不得不重新安装Visual Studio 2017.

I had to reinstall Visual Studio 2017 recently.

现在,突然间,当打开时。在Ressource View中项目的rc资源文件,我收到错误:

Now, all of a sudden, when opening the .rc ressource file of a project in the Ressource View, I get the error:

"错误RC2104:未定义的关键字或密钥名称:WS_EX_COMPOSITED"

"error RC2104: undefined keyword or key name: WS_EX_COMPOSITED"

错误表示的行是:

    EXSTYLE WS_EX_COMPOSITED

这适用于我拥有的* all *项目。 *重新安装之前和之后,所有*的编译都没有错误。在* all *中,我可以在重新安装之前打开.rc文件*。

This applies to *all* projects I have. *All* of them compile without errors, before and after the reinstall. In *all* of them, I could open the .rc file *before* the reinstall.

我尝试了重新安装,但错误仍然存​​在。

I tried a new reinstall, but the error remains.

可能发生了什么?这可能是由于重新安装重置的选项中的设置很深?

What could have happened? Could this be due to a setting deep in the options which has been reset by the reinstall?

Thanx为您提供帮助!

Thanx for your Help!

推荐答案

修改:

我刚创建了一个新项目,C ++,基于MFC的对话框应用程序,新对话框,并将对话框的"Composited"属性设置为"true"。

I just created a new project, C++, MFC-based dialog app, with a new dialog, and set the "Composited"-property of the dialog to "true".

关闭rc文件。试图重新打开它。同样的错误。

Closed the rc file. Tried to reopen it. Same error.

所以它肯定与Visual Studio 2017有关。

So it definitely has something to do with Visual Studio 2017.


这篇关于打开.rc-File - >错误RC2104 - WS_EX_COMPOSITED未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆