admin管理员组文章数量:1435859
I have a Visual-C++ Win32 Project, which I developed with Visual Studio 2015. Now I made an upgrade to Visual Studio 2022.
All works fine, except every time I make a small change, like just move a button or anything else and save, the <project>.rc
file is completely changed - this is ok because it is rebuilt by the wizard, but the IDs are partially changed.
For example:
CONTROL Zahnreader2,-1,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,7,7,97,130
is changed to:
CONTROL VK_NONAME,-1,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,7,7,97,130
After this, I can't build because some keywords can not be found (WS_EX_COMPOSITED
, VK_GAMEPAD_B
).
When upgrading from 2015 to 2022, I also the following steps:
- Additionaly installed Visual Studio 2015 because of 4.5 for c#
- Installed MFC.
- Set struct alignment to standard.
- Retarged Solution to latest installed versions.
At the moment, I can edit the <project>.rc
with a text-editor, which works. But how can I get back to edit resources inside Visual Studio?
本文标签: cUpgrade Visual Studio 2015 to 2022 Resource File is corrupt after edit in VS 2022Stack Overflow
版权声明:本文标题:c++ - Upgrade Visual Studio 2015 to 2022: Resource File is corrupt after edit in VS 2022 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745671475a2669593.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论