Re: [Gambas-user] Component requirements

2011-07-05 Thread tobias
well, it still not works... i create the socket within _call() now but i get the same message and the ide will crash again if i do something like minimizing and restoring it... test_comp-0.0.10.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] Component requirements

2011-07-05 Thread Benoît Minisini
> > I think I see now: you are creating a Socket inside an _init method. But > > _init is called just after the class is loaded, and apparently before > > components. > > > > Just create it elsewhere. I will try to see if I can run _init later, but > > it is not sure. > > > > Regards, > > thanks

Re: [Gambas-user] Component requirements

2011-07-05 Thread tobias
> > I think I see now: you are creating a Socket inside an _init method. But > _init > is called just after the class is loaded, and apparently before components. > > Just create it elsewhere. I will try to see if I can run _init later, but it > is not sure. > > Regards, > thanks, this sound

Re: [Gambas-user] Component requirements

2011-07-05 Thread Benoît Minisini
> hi, > > > - Or adding 'Component.Load("gb.net")' in the component source code. > > this is not working, i still get "Unable to load class 'Socket'" > what's wrong? > btw, have you noticed my explanation in the previous mail about the ide > crashing? i don't want to be impatient but these two pr

Re: [Gambas-user] Component requirements

2011-07-05 Thread tobias
hi, > - Or adding 'Component.Load("gb.net")' in the component source code. this is not working, i still get "Unable to load class 'Socket'" what's wrong? btw, have you noticed my explanation in the previous mail about the ide crashing? i don't want to be impatient but these two problems get me m

Re: [Gambas-user] Component requirements

2011-07-03 Thread tobias
> Can't load or create? ... looks like file/directory permissions or file > mode issues to me. can't be. usually there is no such error. just when i do Component.Load() in the console before. and the modes of the gambas components aren't likely to change on my system ;)

Re: [Gambas-user] Component requirements

2011-07-03 Thread John Spikowski
On Sun, 2011-07-03 at 21:02 +0200, tobias wrote: > Benoît Minisini schrieb: > >>> I need the component project. > >> o.k., the error was "Cannot load class 'Socket': unable to load class > >> file". component is attached. > > > > OK, I see. > > > > Component.Load("test_comp") will not force the l

Re: [Gambas-user] Component requirements

2011-07-03 Thread tobias
Benoît Minisini schrieb: I need the component project. o.k., the error was "Cannot load class 'Socket': unable to load class file". component is attached. OK, I see. Component.Load("test_comp") will not force the load of the gb.net component. At the moment, the components dependencies are co

Re: [Gambas-user] Component requirements

2011-07-03 Thread Benoît Minisini
> > I need the component project. > > o.k., the error was "Cannot load class 'Socket': unable to load class > file". component is attached. OK, I see. Component.Load("test_comp") will not force the load of the gb.net component. At the moment, the components dependencies are computed by the IDE,

Re: [Gambas-user] Component requirements

2011-07-03 Thread tobias
I need the component project. o.k., the error was "Cannot load class 'Socket': unable to load class file". component is attached. test_comp-0.0.2.tar.gz Description: GNU Zip compressed data -- All of the data generat

Re: [Gambas-user] Component requirements

2011-07-03 Thread Benoît Minisini
> hi, > > > Please send your project and I will tell you. > > which project? component or project that uses it? > actually there is no "project". both are test cases. > in the component, there is: > PUBLIC SUB _init() >DIM s AS NEW Socket > END > > and in the project: > PUBLIC SUB Button1_Cl

Re: [Gambas-user] Component requirements

2011-07-03 Thread tobias
hi, > > Please send your project and I will tell you. > which project? component or project that uses it? actually there is no "project". both are test cases. in the component, there is: PUBLIC SUB _init() DIM s AS NEW Socket END and in the project: PUBLIC SUB Button1_Click() Component.L

Re: [Gambas-user] Component requirements

2011-07-03 Thread Benoît Minisini
> hi, > > in a component, i need the gb.net component and so i added it to the > list in requirements tab and compiled everything. if my component gets > loaded, i get an error saying that i use an unknown symbol or something > like that (it's some time ago and i just remembered that i wanted to a

[Gambas-user] Component requirements

2011-07-03 Thread tobias
hi, in a component, i need the gb.net component and so i added it to the list in requirements tab and compiled everything. if my component gets loaded, i get an error saying that i use an unknown symbol or something like that (it's some time ago and i just remembered that i wanted to ask for t