且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Delphi 预构建事件在编译前未执行

更新时间:2021-09-10 00:13:48

尝试使用

{$R aVersionInfo.res}

并从您的批处理文件中手动调用 brcc32 aVersionInfo.rc(在您完成创建 .rc 文件之后).这样你的 .res 文件应该被排除在正常的 IDE 构建之外.

and calling brcc32 aVersionInfo.rc manually from your batch file (after you're done with creating the .rc file). That way your .res file should be excluded from the normal IDE build.