c++ - Upgrade Visual Studio 2015 to 2022: Resource File is corrupt after edit in VS 2022 - Stack Overflow
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?
最新文章
- 微软软件业务将全面转向免费增值模式
- Google如今是一家硬件公司了 迫不得已还是顺应时代?
- selenium webdriver - Instagram "Post" button when sending Python comment - Stack Overflow
- Unable to deploy flex consumption function app using azure bicep - Stack Overflow
- apache spark - Can't save pyspark ML model :py4j.protocol.Py4JJavaError: An error occurred while calling o577.save. : ja
- flutter - Error handshake exception: handshake error in client(os error: certificate _verify_failed: unable to get local issuer
- python - ModuleNotFoundError: No module named 'llama_index.text_splitter' - Stack Overflow
- amazon ses - Is it possible to send a RawMessage using Apache Camel AWS SES? - Stack Overflow
- c++ - Camera is tilting when trying to rotate quaternion - Stack Overflow
- python - Wrap_lon of the regionmask does not work with data span from -180 to 180 - Stack Overflow
- javascript - Is there any way of getting an error message from the browsers XslProcessor object when using xsl:message terminate
- r - Why does adding markers in a Shiny app work for one map but not the other? - Stack Overflow
- augmented reality - Applying 2d image to a 3d object in xcode tutorials? - Stack Overflow
- ace - Does JSONEditor have a default function to get the JSON block from the cursor position? - Stack Overflow
- python - Newton raphson fails to approximate beyond two decimal points - Stack Overflow
- java - YubiKey PIV AuthenticationDecryption returns 0x6A80 error - Stack Overflow
- python - How Can I Use GPU to Accelerate Image Augmentation? - Stack Overflow