如何更改VCL代码? [英] How to change VCL code?

查看:205
本文介绍了如何更改VCL代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要修改 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆