[英]Delphi 10.3 compilations using DCC32 have the old Delphi 5 visual style
A few weeks ago, our company migrated from Delphi 5 to Delphi 10.3 Rio.几周前,我们公司从 Delphi 5 迁移到 Delphi 10.3 Rio。 After some problems, we've reached our goal to compile our solutions (many EXEs) with the new IDE.在一些问题之后,我们达到了使用新 IDE 编译我们的解决方案(许多 EXE)的目标。 We're using DCC32 to compile our projects every day.我们每天都使用 DCC32 来编译我们的项目。
Unfortunately, some of them have encountered a visual issue.不幸的是,他们中的一些人遇到了视觉问题。 They are using the old VCL visual style from Delphi 5, whereas others use the newer style.他们使用来自 Delphi 5 的旧 VCL 视觉样式,而其他人使用较新的样式。
After much research, we've noticed that every executable that works has a manifest (thanks to ResourceEditor.exe), but the others which don't work don't have any manifest.经过大量研究,我们注意到每个可用的可执行文件都有一个清单(感谢 ResourceEditor.exe),但其他不起作用的可执行文件没有任何清单。
Projects seem very similar, no forced manifests files, same compiling way, same resources generator.项目看起来非常相似,没有强制清单文件,相同的编译方式,相同的资源生成器。
It seems that the default manifest ( default_app.manifest
) located in the Embarcadero directory is used during the generation.似乎在生成期间使用了位于 Embarcadero 目录中的默认清单 ( default_app.manifest
)。
Does anybody know why some EXEs contain this default manifest and others don't have it?有人知道为什么有些 EXE 包含这个默认清单而其他人没有吗?
EDIT:编辑:
Thank you everyone for all your replies, i'm a bit late but i have managed to solve my problem.谢谢大家的回复,我有点晚了,但我已经设法解决了我的问题。 Unfortunately one of our libraries owns a manifest on one of his res file.不幸的是,我们的一个图书馆在他的一个 res 文件中拥有一个清单。 But some of our applications don't use this library and have this issue.但是我们的一些应用程序不使用这个库并且存在这个问题。
For those who point the IDE solution, we use dcc32 compilations which, tell me if i'm wrong, don't use the dproj file where the runtime theme is specified.对于那些指出 IDE 解决方案的人,我们使用 dcc32 编译,如果我错了,请告诉我,不要使用指定运行时主题的 dproj 文件。 The IDE solution works well but since we use dcc32 compilations, we can't use it. IDE 解决方案运行良好,但由于我们使用 dcc32 编译,因此无法使用它。
这可能是未选择“启用运行时主题”选项(项目/选项/应用程序/清单)的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.