<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css">
<title>
Gambas Documentation - component
</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../help+en"><img class="flag" alt="Home" border="0" src="../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../def+en">Up</a>&nbsp;
<a href="compile+en">Previous</a>&nbsp;
<a href="deferedevent+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
component
</h1>
<a href="gambas+en">Gambas</a> components are external shared libraries written in C, C++ or in <a href="gambas+en">Gambas</a>
that add new functions to the <a href="gambas+en">Gambas</a> interpreter.
<p>
They are stored in <tt>$PREFIX/lib/gambas2</tt>, the value of <tt>$PREFIX</tt> depending
on where <a href="gambas+en">Gambas</a> is installed on your system. By default, <tt>$PREFIX</tt> is <tt>/usr/local</tt>.
<p>
Information regarding components are stored in <tt>$PREFIX/share/gambas2/info</tt>.
<p>
To use a component in a project, the component must be chosen from the <u>Project</u> &rarr; <u>Properties</u> menu,
otherwise you will get the following error message: &quot;Cannot load <i>name</i> class. Unable to load class file&quot;

</div>
</body>
</html>

