[Gambas-user] Creating a library

gambas at ...1938... gambas at ...1938...
Fri Sep 12 11:40:36 CEST 2008


Am Donnerstag, 4. September 2008 16:39:06 schrieb Doriano Blengino:
> Make a (dummy?) project with your libray in it; give it a meaningful name.
> Edit the library source: put a "EXPORT" alone in a line at the beginning:
>
>     ' Gambas module file
>
>     EXPORT
>
>     PUBLIC SUB printit(st AS String)
>
>       PRINT st
>
>     END
>
> Run the project, or compile it.
> Go to the project properties (General, Options, Components...); in the
> "Options" tab set "This project is a component" to YES; further tabs
> should appear on the right of the window (Provides and Requires).
> Go the tab "Provides", and click on the line starting with your library
> name, under the column "Type", and set "Class".
> Confirm with "OK".
Sorry for bringing up this topic again: I'm using the Gambas development 
version (snapshot from today).  Until this step, all went fine. In 
the "Provides"-tab, I can see my class, but when I click on it, it isn't 
marked. Is this my fault or perhaps a bug in the snapshot?

Greetz
Stevie





More information about the User mailing list