Skip to content

Fix version.rc build failures in Delphi 12.1 #2164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DJStompZone
Copy link

Fix: Make version.rc compile successfully under Delphi 12.1

Previously, version.rc failed to compile due to missing macro definitions like VOS__WINDOWS32. This update adds #include <winver.h> and fills out standard VERSIONINFO fields, restoring compatibility with the Delphi 12.1 resource compiler.

  • Resolves RC2104 (undefined keyword) and RC1015 (missing include)
  • Retains %APPNAME% and %APPVER% placeholders for Delphi substitutions
  • No changes to build behavior — just unblocks successful compilation

Tested with Delphi 12.1 CE (rc.exe) and Microsoft Windows SDK resource compiler.

Fix: Make version.rc compile successfully under Delphi 12.1

Previously, version.rc failed to compile due to missing macro definitions like VOS__WINDOWS32.
This update adds `#include <winver.h>` and fills out standard VERSIONINFO fields, restoring
compatibility with the Delphi 12.1 resource compiler.

- Resolves RC2104 (undefined keyword) and RC1015 (missing include)
- Retains %APPNAME% and %APPVER% placeholders for Delphi substitutions
- No changes to build behavior — just unblocks successful compilation

Tested with Delphi 12.1 CE (`rc.exe`) and Microsoft Windows SDK resource compiler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant