Re: [Gambas-user] Raises the event
Hi, What I need is raising an event in my own component. If I declare my FUNCTION or SUB as STATIC and try to raise an event from this function, I get error message "Cannot raise event in static function." But if that is not STATIC and I try call it from my application I get an error message FUNCTION is not static. Sorry for my English. Ivan -Ursprüngliche Nachricht- Von: Fabien Bodard [mailto:gambas...@gmail.com] Gesendet: Samstag, 14. Juli 2012 10:27 An: mailing list for gambas users Betreff: Re: [Gambas-user] Raises the event 2012/7/13 Jussi Lahtinen > I don't think Gambas supports static events. > So you need to remove static from declaration, or use sub instead. > Why you need myTest() sub to be static? > > Jussi > > same question > a component by definition is dynamic. And if you want to use full static class, you should prefer a module ... no ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Raises the event
On Tue, 2012-07-17 at 10:12 +0200, Ivan Kern wrote: > Hi, > What I need is raising an event in my own component. > If I declare my FUNCTION or SUB as STATIC and try to raise an event from > this function, I get error message > "Cannot raise event in static function." But if that is not STATIC and I try > call it from my application > I get an error message FUNCTION is not static. > > Sorry for my English. > > Ivan Ah! I think I may see something. Please explain a bit more about what you mean by "But if that is not STATIC and I try call it from my application". In the meantime, here is a couple of source archives for you to study. I have only implemented the "demo_staticRaise" as a library in "demo_staticraise2" but maybe it will help. Bruce demo_staticRaise2-0.0.1.tar.gz Description: application/compressed-tar demo_staticRaise-0.0.2.tar.gz Description: application/compressed-tar -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Raises the event
Hi, I mean, if FUNCTION or SUB in my component is not STATIC and I try call it from my application I get an error message “FUNCTION... is not static. Thank you, Ivan -Ursprüngliche Nachricht- Von: Bruce [mailto:bbr...@paddys-hill.net] Gesendet: Dienstag, 17. Juli 2012 11:57 An: mailing list for gambas users Betreff: Re: [Gambas-user] Raises the event On Tue, 2012-07-17 at 10:12 +0200, Ivan Kern wrote: > Hi, > What I need is raising an event in my own component. > If I declare my FUNCTION or SUB as STATIC and try to raise an event > from this function, I get error message "Cannot raise event in static > function." But if that is not STATIC and I try call it from my > application I get an error message “FUNCTION is not static”. > > Sorry for my English. > > Ivan Ah! I think I may see something. Please explain a bit more about what you mean by "But if that is not STATIC and I try call it from my application". In the meantime, here is a couple of source archives for you to study. I have only implemented the "demo_staticRaise" as a library in "demo_staticraise2" but maybe it will help. Bruce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Issue 274 in gambas: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 274 by kokok...@gmail.com: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node http://code.google.com/p/gambas/issues/detail?id=274 The summary is pretty explicative. Seems that since gambas 3.2.0, that property is gone. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 274 in gambas: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node
Updates: Status: Accepted Owner: adrien.p...@gmail.com Labels: -Version Version-TRUNK Comment #1 on issue 274 by adrien.p...@gmail.com: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node http://code.google.com/p/gambas/issues/detail?id=274 (No comment was entered for this change.) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] mysql last_insert_id
I have a table (editprojects) with "id" as primary key, serial, integer. There is only one record at the moment (id = 1) hResult = hConn.Exec("SELECT last_insert_id() as id FROM editprojects") print hResult!id produces 0 not 1 Obviously my sql query is at fault but where? I wonder if anyone can help. -- View this message in context: http://old.nabble.com/mysql--last_insert_id-tp34173030p34173030.html Sent from the gambas-user mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 274 in gambas: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node
Updates: Status: Fixed Comment #2 on issue 274 by adrien.p...@gmail.com: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node http://code.google.com/p/gambas/issues/detail?id=274 Problem fixed in the last revision (#4960), Thanks. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Raises the event
Because yoy are using your component as a module... A module is static. Generally a component is based on dynamic classes. A class must be instanciate. Dim hmyclass as new CMyClass Then you can call Hmyclass.myfuntion A workaround for you if you want to call you class directly will be to generate an automatic instance like for the forms by adding CREATE STATIC In the top of your class Then you can call CMyClass.MyFunction directly. Le 17 juil. 2012 12:33, "Ivan Kern" a écrit : > Hi, > I mean, if FUNCTION or SUB in my component is not STATIC and I try call > it from my > application I get an error message “FUNCTION... is not static. > > Thank you, Ivan > > -Ursprüngliche Nachricht- > Von: Bruce [mailto:bbr...@paddys-hill.net] > Gesendet: Dienstag, 17. Juli 2012 11:57 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Raises the event > > On Tue, 2012-07-17 at 10:12 +0200, Ivan Kern wrote: > > Hi, > > What I need is raising an event in my own component. > > If I declare my FUNCTION or SUB as STATIC and try to raise an event > > from this function, I get error message "Cannot raise event in static > > function." But if that is not STATIC and I try call it from my > > application I get an error message “FUNCTION is not static”. > > > > Sorry for my English. > > > > Ivan > > Ah! I think I may see something. Please explain a bit more about what you > mean by "But if that is not STATIC and I try call it from my application". > > In the meantime, here is a couple of source archives for you to study. > I have only implemented the "demo_staticRaise" as a library in > "demo_staticraise2" but maybe it will help. > > Bruce > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] mysql last_insert_id
On Tue, 2012-07-17 at 04:14 -0700, Bill-Lancaster wrote: > I have a table (editprojects) with "id" as primary key, serial, integer. > There is only one record at the moment (id = 1) > hResult = hConn.Exec("SELECT last_insert_id() as id FROM editprojects") > print hResult!id > produces 0 not 1 > > Obviously my sql query is at fault but where? > > I wonder if anyone can help. Bill, AFAIK in mysql last_insert_id is session and connection based, from the limited info you give, it looks like you are trying to get the last insert id outside a session or connection. If so you could try "SELECT MAX(id) as last_insert_id FROM editprojects". If not, then a short trip down the web history of this totally bungled concept from mysql Bruce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] mysql last_insert_id
Have you got auto_increment on the id field? http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html Seems last_insert_id() looks at the previously-run SQL statement that performed an INSERT. If you're running this query in a separate program, or have done other SQL operations since the INSERT on the editprojects table, you may well get 0 back. Why not try select max(id) from editprojects? Guess it depends what you really want... the id of the last-inserted record, or the maximum id used until now so you can assign the 'next' id... of course if you use auto_increment, you may not need the last id as it'll all happen automatically... Kind regards, Caveat On 17/07/12 13:14, Bill-Lancaster wrote: > I have a table (editprojects) with "id" as primary key, serial, integer. > There is only one record at the moment (id = 1) > hResult = hConn.Exec("SELECT last_insert_id() as id FROM editprojects") > print hResult!id > produces 0 not 1 > > Obviously my sql query is at fault but where? > > I wonder if anyone can help. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 274 in gambas: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node
Comment #3 on issue 274 by kokok...@gmail.com: Unknown symbol 'IsEmptyElement' in class '.XmlReader.Node http://code.google.com/p/gambas/issues/detail?id=274 Great, thanks to you! -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Raises the event
I thank all of you, I've got it. Ivan -Ursprüngliche Nachricht- Von: Fabien Bodard [mailto:gambas...@gmail.com] Gesendet: Dienstag, 17. Juli 2012 13:41 An: mailing list for gambas users Betreff: Re: [Gambas-user] Raises the event Because yoy are using your component as a module... A module is static. Generally a component is based on dynamic classes. A class must be instanciate. Dim hmyclass as new CMyClass Then you can call Hmyclass.myfuntion A workaround for you if you want to call you class directly will be to generate an automatic instance like for the forms by adding CREATE STATIC In the top of your class Then you can call CMyClass.MyFunction directly. Le 17 juil. 2012 12:33, "Ivan Kern" a écrit : > Hi, > I mean, if FUNCTION or SUB in my component is not STATIC and I try > call it from my application I get an error message FUNCTION... is not > static. > > Thank you, Ivan > > -Ursprüngliche Nachricht- > Von: Bruce [mailto:bbr...@paddys-hill.net] > Gesendet: Dienstag, 17. Juli 2012 11:57 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Raises the event > > On Tue, 2012-07-17 at 10:12 +0200, Ivan Kern wrote: > > Hi, > > What I need is raising an event in my own component. > > If I declare my FUNCTION or SUB as STATIC and try to raise an event > > from this function, I get error message "Cannot raise event in > > static function." But if that is not STATIC and I try call it from > > my application I get an error message FUNCTION is not static. > > > > Sorry for my English. > > > > Ivan > > Ah! I think I may see something. Please explain a bit more about what > you mean by "But if that is not STATIC and I try call it from my application". > > In the meantime, here is a couple of source archives for you to study. > I have only implemented the "demo_staticRaise" as a library in > "demo_staticraise2" but maybe it will help. > > Bruce > > > > -- > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [SPAM]
http://www.relatum.hr/temnpk.php?yv=cjnpcd -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Can't build gbx3
Hi, Since a few revisions, I get an error when building gbx3 : [...] gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include -MT gbx3-gbx_exec_pop.o -MD -MP -MF .deps/gbx3-gbx_exec_pop.Tpo -c -o gbx3-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo './'`gbx_exec_pop.c mv -f .deps/gbx3-gbx_exec_pop.Tpo .deps/gbx3-gbx_exec_pop.Po gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include -MT gbx3-gbx_exec_operator.o -MD -MP -MF .deps/gbx3-gbx_exec_operator.Tpo -c -o gbx3-gbx_exec_operator.o `test -f 'gbx_exec_operator.c' || echo './'`gbx_exec_operator.c mv -f .deps/gbx3-gbx_exec_operator.Tpo .deps/gbx3-gbx_exec_operator.Po gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include -MT gbx3-gbx_class_init.o -MD -MP -MF .deps/gbx3-gbx_class_init.Tpo -c -o gbx3-gbx_class_init.o `test -f 'gbx_class_init.c' || echo './'`gbx_class_init.c mv -f .deps/gbx3-gbx_class_init.Tpo .deps/gbx3-gbx_class_init.Po gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include -MT gbx3-gbx_class.o -MD -MP -MF .deps/gbx3-gbx_class.Tpo -c -o gbx3-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c gbx_class.c: In function ‘CLASS_DESC_get_type_name’: gbx_class.c:914:22: erreur: ‘CLASS_DESC_GAMBAS’ has no member named ‘val4’ gbx_class.c:929:1: attention : contrôle a atteint la fin non void de la fonction [-Wreturn-type] make[2]: *** [gbx3-gbx_class.o] Erreur 1 make[2] : on quitte le répertoire « /home/adrien/Programmation/C++/Gambas/trunk/main/gbx » make[1]: *** [all-recursive] Erreur 1 make[1] : on quitte le répertoire « /home/adrien/Programmation/C++/Gambas/trunk/main » make: *** [all] Erreur 2 I tried to do ./reconf-all, ./configure, make clean and also to download a clear trunk with svn checkout, bu the problem is still here. Regards, Adrien. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Can't build gbx3
Le 17/07/2012 21:13, Adrien Prokopowicz a écrit : > Hi, > > Since a few revisions, I get an error when building gbx3 : > > > [...] > gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include > -MT gbx3-gbx_exec_pop.o -MD -MP -MF .deps/gbx3-gbx_exec_pop.Tpo -c -o > gbx3-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo > './'`gbx_exec_pop.c > mv -f .deps/gbx3-gbx_exec_pop.Tpo .deps/gbx3-gbx_exec_pop.Po > gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include > -MT gbx3-gbx_exec_operator.o -MD -MP -MF > .deps/gbx3-gbx_exec_operator.Tpo -c -o gbx3-gbx_exec_operator.o `test > -f 'gbx_exec_operator.c' || echo './'`gbx_exec_operator.c > mv -f .deps/gbx3-gbx_exec_operator.Tpo .deps/gbx3-gbx_exec_operator.Po > gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include > -MT gbx3-gbx_class_init.o -MD -MP -MF .deps/gbx3-gbx_class_init.Tpo -c > -o gbx3-gbx_class_init.o `test -f 'gbx_class_init.c' || echo > './'`gbx_class_init.c > mv -f .deps/gbx3-gbx_class_init.Tpo .deps/gbx3-gbx_class_init.Po > gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include > -MT gbx3-gbx_class.o -MD -MP -MF .deps/gbx3-gbx_class.Tpo -c -o > gbx3-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c > gbx_class.c: In function ‘CLASS_DESC_get_type_name’: > gbx_class.c:914:22: erreur: ‘CLASS_DESC_GAMBAS’ has no member named ‘val4’ > gbx_class.c:929:1: attention : contrôle a atteint la fin non void de > la fonction [-Wreturn-type] > make[2]: *** [gbx3-gbx_class.o] Erreur 1 > make[2] : on quitte le répertoire « > /home/adrien/Programmation/C++/Gambas/trunk/main/gbx » > make[1]: *** [all-recursive] Erreur 1 > make[1] : on quitte le répertoire « > /home/adrien/Programmation/C++/Gambas/trunk/main » > make: *** [all] Erreur 2 > > > I tried to do ./reconf-all, ./configure, make clean and also to > download a clear trunk with svn checkout, bu the problem is still > here. > > Regards, > Adrien. > It is a 32 bit thing. Is it better with r4962? -- Benoît Minisini -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Install problems
Where is the gambas src directory??? I don't seem to have one after downloading. ./reconf-all and ./configure returns "No such file or directory" I v'e tried in the /gambas* directory. Outputting to 'output.txt' gives a blank file other wise I post it. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 263 in gambas: The TextBox will remain always in the foreground.
Updates: Status: Started Comment #6 on issue 263 by benoit.m...@gmail.com: The TextBox will remain always in the foreground. http://code.google.com/p/gambas/issues/detail?id=263 I may have found some sort of workaround for that problem. I did it in r4963, can you try it? I modified the Panel,VBox,HBox,VPanel and HPanel controls so that they get their own X11 window as soon as they have an explicit background color. Consequently, they will be able to cover any other controls. Tell me if it works for you. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Can't build gbx3
Yes, it works now, thanks. 2012/7/17, Benoît Minisini : > Le 17/07/2012 21:13, Adrien Prokopowicz a écrit : >> Hi, >> >> Since a few revisions, I get an error when building gbx3 : >> >> >> [...] >> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" >> -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include >> -MT gbx3-gbx_exec_pop.o -MD -MP -MF .deps/gbx3-gbx_exec_pop.Tpo -c -o >> gbx3-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo >> './'`gbx_exec_pop.c >> mv -f .deps/gbx3-gbx_exec_pop.Tpo .deps/gbx3-gbx_exec_pop.Po >> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" >> -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include >> -MT gbx3-gbx_exec_operator.o -MD -MP -MF >> .deps/gbx3-gbx_exec_operator.Tpo -c -o gbx3-gbx_exec_operator.o `test >> -f 'gbx_exec_operator.c' || echo './'`gbx_exec_operator.c >> mv -f .deps/gbx3-gbx_exec_operator.Tpo .deps/gbx3-gbx_exec_operator.Po >> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" >> -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include >> -MT gbx3-gbx_class_init.o -MD -MP -MF .deps/gbx3-gbx_class_init.Tpo -c >> -o gbx3-gbx_class_init.o `test -f 'gbx_class_init.c' || echo >> './'`gbx_class_init.c >> mv -f .deps/gbx3-gbx_class_init.Tpo .deps/gbx3-gbx_class_init.Po >> gcc -DHAVE_CONFIG_H -I. -I..-DGAMBAS_PATH="\"/usr/local/bin\"" >> -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.11/include >> -MT gbx3-gbx_class.o -MD -MP -MF .deps/gbx3-gbx_class.Tpo -c -o >> gbx3-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c >> gbx_class.c: In function ‘CLASS_DESC_get_type_name’: >> gbx_class.c:914:22: erreur: ‘CLASS_DESC_GAMBAS’ has no member named >> ‘val4’ >> gbx_class.c:929:1: attention : contrôle a atteint la fin non void de >> la fonction [-Wreturn-type] >> make[2]: *** [gbx3-gbx_class.o] Erreur 1 >> make[2] : on quitte le répertoire « >> /home/adrien/Programmation/C++/Gambas/trunk/main/gbx » >> make[1]: *** [all-recursive] Erreur 1 >> make[1] : on quitte le répertoire « >> /home/adrien/Programmation/C++/Gambas/trunk/main » >> make: *** [all] Erreur 2 >> >> >> I tried to do ./reconf-all, ./configure, make clean and also to >> download a clear trunk with svn checkout, bu the problem is still >> here. >> >> Regards, >> Adrien. >> > > It is a 32 bit thing. Is it better with r4962? > > -- > Benoît Minisini > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Install problems
Do you happen to have trunk directory in the directory you downloaded the project to? If so, then cd to trunk... On Tue, Jul 17, 2012 at 12:44 PM, rocko wrote: > Where is the gambas src directory??? > I don't seem to have one after downloading. > ./reconf-all and ./configure returns "No such file or directory" > I v'e tried in the /gambas* directory. Outputting to 'output.txt' gives > a blank file other wise I post it. > > > > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] mysql last_insert_id
Thanks guys, Yes, the field is auto-increment. Having just discovered it, I thought "last_insert_id" would be a bit more elegant than MAX(). Thanks again -- View this message in context: http://old.nabble.com/mysql--last_insert_id-tp34173030p34177606.html Sent from the gambas-user mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user