Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Jussi Lahtinen
Works correctly and FAST! Thanks, this is very useful feature! Jussi 2011/3/13 Benoît Minisini > > It's better, but there are other problems too... Something to do with > > "select case" and callback functions. > > I managed to isolate the problem. See attachment. > > > > Click coupleo of tim

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Benoît Minisini
> Can someone explain what extern callbacks are/do? > > Thanks! > Some external functions written in C ask for a function pointer argument. In Gambas 3, you can use any private or public function written in Gambas as function pointer. The interpreter internally creates a temporary internal C

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Jussi Lahtinen
Take a look at the sources I attached to earlier mail. But quickly explaining; it means possibility to use external library, in way that external library also uses functions from gambas program. See also: http://en.wikipedia.org/wiki/Callback_%28computer_programming%29 http://gambasdoc.org/help/la

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Ron
Can someone explain what extern callbacks are/do? Thanks! 2011/3/13 Benoît Minisini : >> It's better, but there are other problems too... Something to do with >> "select case" and callback functions. >> I managed to isolate the problem. See attachment. >> >> Click coupleo of times that button, an

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Benoît Minisini
> It's better, but there are other problems too... Something to do with > "select case" and callback functions. > I managed to isolate the problem. See attachment. > > Click coupleo of times that button, and you will see cumulative performance > problem leading practically to freeze. > > Gambas 3

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Jussi Lahtinen
It's better, but there are other problems too... Something to do with "select case" and callback functions. I managed to isolate the problem. See attachment. Click coupleo of times that button, and you will see cumulative performance problem leading practically to freeze. Gambas 3 rev 3644 @ Ubun

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Benoît Minisini
> Forgot... press the button, and error is raised after the form is closed. > > Jussi > It should be fixed in revision #3644. Regards, -- Benoît Minisini -- Colocation vs. Managed Hosting A question and answer guide

Re: [Gambas-user] Signal 11 with callback functions

2011-03-11 Thread Jussi Lahtinen
Forgot... press the button, and error is raised after the form is closed. Jussi On Fri, Mar 11, 2011 at 21:31, Jussi Lahtinen wrote: > Hi! > Is there something I have misunderstand? > > I get; > gbx3: warning: circular references detected: > gbx3: 1 FMain > > And then signal 11. > > See att

[Gambas-user] Signal 11 with callback functions

2011-03-11 Thread Jussi Lahtinen
Hi! Is there something I have misunderstand? I get; gbx3: warning: circular references detected: gbx3: 1 FMain And then signal 11. See attachment. Gambas 3 rev 3639 @ Ubuntu 10.10 64bit Jussi CallbackTest-0.0.1.tar.gz Description: GNU Zip compressed data -