Jump to content

Component Library for Cross Platform

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gwern (talk | contribs) at 19:12, 11 August 2007 (splitting out the CL CLX). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Component Library for Cross Platform (CLX), is a cross-platform visual component-based framework for developing Microsoft Windows and Linux applications. It is developed by Borland for use in its Kylix, Delphi, and C++ Builder software development environment.

Its aim was to replace the popular Microsoft Windows-only Visual Component Library, VCL. CLX was based on Qt by Trolltech. The API of CLX almost completely followed VCL. It was envisioned that existing applications using VCL would be recompiled with CLX.

However, due to lacklustre performance on Windows, subtle differences from VCL, and bugs; it didn't became the expected successor to VCL. Commercial failure of Kylix stopped further development of CLX.

In terms of object-oriented approach, CLX forms an object hierarchy where the TObject class serves as the base class. All other classes inherit or indirectly inherit the TObject class. This is necessary as Delphi does not support multiple inheritance, unlike C++. This is a common approach shared by the Java programming language, Smalltalk, and many other object-oriented programming languages.

See also