Главная страница | назад





Article #16901: Modifying the VCL source.

 Question and Answer Database
FAQ1901C.txt Modifying the VCL source.
Category :VCL
Platform :All
Product :C++Builder 1.x
Question:
How do I modify the VCL source and update the component palette
(CMPLIB32.CCL)?
Answer:
Someday, you might want to modify one of the VCL source files
and update the VCL (VCL.LIB) and the component palette
(CMPLIB32.CCL)
For example, say you have a new version of OleCtrls.pas. Here
is what to do.
1. Assemble FFMT.OBJ
tasm32 FFMT.ASM
2. Compile OLECTRLS.PAS using,
dcc32 -JPVNH -v -$Y -$W -M olectrls.pas
3. Update VCL.LIB
tlib vcl.lib -+olectrls.obj
4. Copy OLECTRLS.DCU to the CBUILDER\LIB\OBJ directory
5. Rebuild CMPLIB32.CCL using Component | Rebuild Library
from the IDE.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99