Subject | Re: [IBO] Creating a DataAware IB Component |
---|---|
Author | Geoff Worboys |
Post date | 2002-07-22T22:19:29Z |
> Cannot load package IBO40VRT_D5. It contains unit 'IB_FIELDDATALINK'Your units of course need "uses" clauses. This causes delphi to
> which is also contained in package MYPACKAGE.
> Any ideas why this is happening?
automatically include those units in your package - resulting in the
units appearing twice to the designer. To avoid this you need to add
requires clauses to your packages so that Delphi knows to link to the
ibo package libraries rather than statically linking the ibo units.
For example my Enh runtime package has
requires
VCL50,
IBO40VRT_D5, // this is IBO
IBO40CRT_D5, // this is IBO
Enh20BRT_D5; // this is Enh, so you dont need this
My designtime package has...
requires
VCL50,
Enh20IRT_D5, // this is Enh, so you dont need this
IBO40EDT_D5, // this is IBO
IBO40FRT_D5, // this is IBO
IBO40TRT_D5; // this is IBO
You may not need all the packages I show above.
--
Geoff Worboys
Telesis Computing