Home / def / component 
component
Gambas components are external shared libraries written in C, C++ or in Gambas that add new functions to the Gambas interpreter.

They are stored in $PREFIX/lib/gambas2, the value of $PREFIX depending on where Gambas is installed on your system. By default, $PREFIX is /usr/local.

Information regarding components are stored in $PREFIX/share/gambas2/info.

To use a component in a project, the component must be chosen from the ProjectProperties menu, otherwise you will get the following error message:
Cannot load name class. Unable to load class file

See also

Components  The Gambas Object Model