[Gambas-devel] Building Components

richard terry rterry at ...627...
Fri Jun 4 01:51:44 CEST 2010



Fabian,

I just updated to 2989 of gambas, tried to include my component and got the 
message "does not export any class" or something similar.

Could you explain/assist

Thanks

Richard


On Tuesday 01 June 2010 21:11:54 Fabien Bodard wrote:
> Old Mail >>>>
> 
> Hi,
> 
> In the last revision, I added the implementation of "libraries" in Gambas
>  3. That libraries completely replace the "user components" concept of
>  Gambas 2.
> 
> How does it work?
> 
> You have a new tab named "libraries" in the IDE project property dialog. In
> that tab, you can define a list of gambas executables (*.gambas files) that
> will be used as libraries.
> 
> When adding a library to a project, the IDE will extract from it all the
> information needed for the automatic completion, as for the normal
>  components.
> 
> These libraries will be loaded at program startup by the interpreter
>  exactly like any component written in Gambas.
> 
> When your project in run in debugging mode, i.e. from the IDE, the
>  libraries are located by using the absolute path specified in the project
>  property dialog.
> 
> But when running the project normally, the library is searched in the
> following directory only:
> - The same directory as the project.
> - /usr/bin
> - /bin
> 
> So, a Gambas executable that must act as a library for another program must
>  be installed in /bin, /usr/bin, or in the same directory as the program
>  using it.
> 
> Now I'm waiting for your comments about this new feature!
> 
> Regards,
> 
> 
> <<<<<
> This is the mail recently sended by benoit, that explain how to use
> the new component process.
> 
> ---------------------------------------------------------------------------
> ---
> 
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 




More information about the Devel mailing list