[Gambas-devel] Gambas component creation / Error

Benoit Minisini gambas at ...1...
Tue Mar 29 10:18:58 CEST 2005


On Saturday 26 March 2005 18:39, Daniel Campos wrote:
> Hi Benoît:

Hi,

>
> I'm rewritting the gb.xml.rpc class in Gambas, by now I have a functional
> RPC standalone server, I tested it as a program, and  then I tried to
> convert
> it to a gambas component. I copied the list,component and info files
> ,and I copied
> the executable to the library path as gb.xml.rpc.gambas .
>
> When I try to insert this component in a program, I always find the
> error "End of File"
> all the time at "CComponent.Load" while opening the project and writting
> any code.
>
> I can see only two of the five classes exported, too.

Please send me the component project.

>
> However the component works and I can use it in the test program...
>
> By other side, there's another bug in the IDE:
>
> CComponent.class (line 205):
>
>
>     IF Key = "gb.gtk" THEN
>       FOR EACH sClass IN ["Control", "Form"]
>
>
> Should be:
>
>
>     IF Key = "gb.gtk" THEN
>       FOR EACH sClass IN ["Control", "Form","Menu"]
>

Sorry, I forgot to remove the patch that let older version of gtk+ component 
work.

>
> Regards,
>
> D. Campos

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list