When we compile a package that uses TeeTree we get the following error:
[DCC Fatal error] Unit1.pas(6): E2411 Unit TeeTree in package TeeTree2D16Tee9 refers to unit VCLTee.TeePenDlg which is not found in any package. Packaged units must refer only to packaged units
The requires section of our package is as follows:
Code: Select all
requires
rtl,
vcl,
TeeTree2D16Tee9,
TeeLanguage916,
TeePro916,
TeeUI916,
Tee916;
Code: Select all
unit Unit1;
interface
uses
TeeTree;
type
TMyTree = class(TTree)
end;
implementation
end.