Packages

CLX components, like VCL components, need to be placed into a package in order to be installed into the Kylix or Delphi IDEs. However, it is important to note that a compiled Delphi 6 package containing a CLX component cannot be installed into Kylix. This is because packages under Windows are implemented as specially compiled DLLs, whereas packages under Linux are implemented as shared object (.so) files. Fortunately, the format and syntax of package source files under both platforms is identical.

However, the information that you need to provide in the packages will differ between Windows and Linux. For example, the requires clause for a Linux runtime package will usually specify the baseclx and visualclx packages. However, baseclx ...

Get Borland® Delphi™ 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.