Home > def > component 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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/gambas2, 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/gambas2/info.

To use a component in a project, the component must be checked from the ProjectProperties menu, otherwise you will get the following error message:

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

See also

Components, Object Model