如何从VCL重新编译特定单元? [英] How to recompile a specific unit from the VCL?

查看:142
本文介绍了如何从VCL重新编译特定单元?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将一个修正从QC应用到Delphi 2009单位(DBClient发生)。我知道我需要将单位复制到另一个目录,并更改为副本。

I want to apply a fix from QC to a Delphi 2009 unit (DBClient as it happens). I know I need to copy the unit to another directory and make the change to the copy. How do I then get Delphi to compile that unit and use it in favour of the DCU that already exists?

推荐答案

如果你不知道如何使用它,不想修改原始的.PAS文件,我通过将.PAS文件复制到我的应用程序文件夹,然后选择构建项目,它将在我的应用程序文件夹中创建新的dcu文件,这将使用而不是原始的。

If you don't want to modify the original .Pas file, I do this by copy the .Pas file into my application folder, then choose built project, it will create new dcu file in my application folder, which will be used instead of the original one.

这篇关于如何从VCL重新编译特定单元?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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