How to recompile a specific unit from the VCL?

后端 未结 3 2062
抹茶落季
抹茶落季 2020-12-06 11:52

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 t

3条回答
  •  失恋的感觉
    2020-12-06 12:41

    I've never did this myself but there are projects in {RAD}\source\rtl along with batch build script. I believe this makes recompiling RTL functions easy. Other units should be recompiled easier.

    If the changes you want to do are local and the units aren't widely used by other RTL/VCL units, the simplest way is to place copies of modified units separately from their standard place.

    Another option is run-time patching aka detouring.

提交回复
热议问题