[Gambas-user] Component requirements
gambas at ...1...
Tue Jul 5 16:07:24 CEST 2011
> > - 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 mad...
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.
More information about the User