Recompile Delphi 64-bit vcl250.bpl

2019-08-24 13:36发布

问题:

I wish to make a fix to StyleUtils.inc in Delphi Tokyo. My project is linking with runtime packages.

My app is 64-bits and so I would like to rebuild the vcl250.bpl in the ..\Redist\win64 directory.

I do realize that StyleUtils.inc is listed as not 64-bit compatible at the top of the file.

//TODO -oUnassigned -cImplement : x64 : Implement PlatformNotImplemented in this unit or disable for x64.

However, until some changes were made in Tokyo, the code had been very stable in Berlin. The error has been reported in the Quality Portal.

So the specific question is how would one rebuild the 64-bit vcl250.bpl redistributable?

Thanks.

回答1:

The licence is quite clear on this point. You are not permitted to distribute modified versions of the RTL/VCL/FMX runtime packages. So what you are trying to achieve can't be done.

At best you can deal with this by way of a runtime code hook.