[Gambas-user] a gambas3 component does not provide underlying components
Benoît Minisini
gambas at ...1...
Sun Aug 21 17:13:28 CEST 2011
> Salut Benoit,
>
> I'm porting actually a gambas2 application to gambas3.
>
> The application consists of several parts. These parts can be ran as
> executable, or used as component (now Library) in other applications.
>
> Now I remarked that while gambas2, when using a component, which it self
> uses a component, provides/know this underlying component.
>
> gambas3 doesn't, you have to declare in every applications.
>
> Here a small example :
>
> application | App_5 | App_4 | App_3 | App_2 | App_1
> ----------------|-------|-------|-------|-------|------
> component | App_4 | App_3 | App_2 | App_1 |
> gambas2 | | App_2 | App_1 | |
> ----------------|-------|-------|-------|-------|------
> libraries | App_4 | App_3 | App_2 | App_1 |
> gambas3 | App_3 | App_2 | App_1 | |
>
> | App_2 | App_1 | | |
> | App_1 | | | |
>
> ----------------|-------|-------|-------|-------|------
Hi,
Since revision #4024, loading a user library now automatically all libraries
and components it depends on.
Beware that this is different from components written in Gambas, that *do not*
load components they depends on automatically.
Regards,
--
Benoît Minisini
More information about the User
mailing list