Skip to content

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