Gambas Documentation - /def/component

# component

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

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

Information regarding components is stored in `$PREFIX/share/gambas3/info`.

To use a component in a project, you must go to the Project → Properties menu, and check the component(s) you need. Otherwise, you will get the following error message:

« Cannot load xxx class: Unable to load class file »

### See also

- Components

- The Gambas Object Model