> 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 mad... > > regards, > tobi >
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, -- Benoît Minisini ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user