如何更改VCL代码? [英] How to change VCL code?
问题描述
我需要修改 Variants
和 SysUtils
的代码。 / p>
我需要做什么来编译更改?
我当然可以打开IDE,但如果我更改它们,并且我再次创建一个项目,我不会看到这些单元重新编译。
需要做什么?
问题是你需要编译所有的RTL / VCL对'新'单位。
而不是修改有问题的单元的副本,并将其添加到您要使用它们的项目。 Delphi应该使用这些在RTL / VCL。
I need (to make some quick and dirty tests) to modify the code of Variants
and SysUtils
.
What I need to do to "compile" the changes?
I can of course open those units in the IDE, but if I change them and I buoild a project again I don't see those units recompiled.
What is needed to be done?
The problem is you would need to compile ALL of the RTL/VCL against the 'new' units.
Instead modify a copy of the units in question and add them to your project when you want to use them. Delphi should use these over those in the RTL/VCL.
这篇关于如何更改VCL代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!