[Gambas-user] gambas3 library pathes
Willy Raets
willy at ...2734...
Sat Apr 21 04:17:54 CEST 2012
On vr, 2012-04-20 at 18:21 +0200, Benoît Minisini wrote:
> Le 20/04/2012 17:43, Willy Raets a écrit :
> > To use a Gambas3 library in a Gambas3 project you need to put an
> > executable (example: mylib.gambas) in the main project folder.
>
> Aaarg... No!
>
> At runtime, a library must be put in the same directory as the project
> executable. *Not* and *never* inside the project source directory.
This explains a lot to me, thanks.
Is this documented anywhere, because I can't find it.
>
> At design time, (inside the IDE project property dialog), you must
> specify where the library is exactly, just to allow the IDE to load the
> symbol descriptions from it.
This is how I did it at design time. And it worked (at design time only
when using debug-> run). It was based on an answer I got from this list:
--quote question of me mailing list 22-02-2012--
> Now I read somewhere you need to make a gambas executable and place it
> in the project folder of the project you want to use it.
>
> So I made an executable named it SysInfo.gambas
> Placed it in the project folder of a project where I need the library
> and then I get stuck.
--quote answer on mailing list 22-02-2012--
That is for gambas3.
For gambas2 (from memory) you just need to....
--end quotes--
I couldn't and still can't find documentation on how to use and
distribute a library written in Gambas.
Willy
More information about the User
mailing list