[Gambas-user] There are errors in the class "Key", and in the events KeyPress / KeyRelease?

2010-04-12 Thread Fabián Flores Vadell
Using Gambas 2.20, Ubuntu 9.10 with KDE 4.3.5 and GTK+ libraries Key.Code is not returned? Key.Text is lost? KeyRelease is not raised? Put a TextBox in a Form, then write the code to catch the pressed key. Run it and press a number o letter key. PUBLIC SUB TextBox1_KeyPress() PRINT Key.Code

Re: [Gambas-user] htonl equal

2010-04-12 Thread Benoît Minisini
> You can use htonl/ntohl from external libs. > A very quick example below. Please correct me if I got it wrong. > > ' Gambas module file > PUBLIC EXTERN htonl(ln AS Long) AS Long IN "libc:6" > PUBLIC EXTERN ntohl(ln AS Long) AS Long IN "libc:6" > > PUBLIC SUB Main() > DIM ln, lh AS Integer > >

Re: [Gambas-user] htonl equal

2010-04-12 Thread Les Hardy
You can use htonl/ntohl from external libs. A very quick example below. Please correct me if I got it wrong. ' Gambas module file PUBLIC EXTERN htonl(ln AS Long) AS Long IN "libc:6" PUBLIC EXTERN ntohl(ln AS Long) AS Long IN "libc:6" PUBLIC SUB Main() DIM ln, lh AS Integer ln = 1193046 PRINT "

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread craf
-Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Debugging program to find error Fecha: Mon, 12 Apr 2010 18:24:09 +0200 > > >Can you make an archive of your package and put it somewhere I can >

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread Benoît Minisini
> > >Can you make an archive of your package and put it somewhere I can > > >download it? I will test it on my Mandriva and see what happens exactly. > > > > > >Regards, > > > > Of course, and thanks again > > > > Here is the link: > > > > http://www.tecleandocodigo.webcindario.com/ > > > > Reg

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread craf
-Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Debugging program to find error Fecha: Mon, 12 Apr 2010 17:57:21 +0200 > >Can you make an archive of your package and put it somewhere I can > >d

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread Benoît Minisini
> >Can you make an archive of your package and put it somewhere I can > >download it? I will test it on my Mandriva and see what happens exactly. > > > >Regards, > > Of course, and thanks again > > Here is the link: > > http://www.tecleandocodigo.webcindario.com/ > > Regards > I got it. I s

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread craf
-Mensaje original- De: Ron_1st Reply-to: mailing list for gambas users Para: gambas-user@lists.sourceforge.net Asunto: Re: [Gambas-user] Debugging program to find error Fecha: Mon, 12 Apr 2010 05:50:53 +0100 On Monday 12 April 2010, craf wrote: > file: No such file or directory > ), is

Re: [Gambas-user] Debugging program to find error

2010-04-12 Thread craf
>Can you make an archive of your package and put it somewhere I can download >it? I will test it on my Mandriva and see what happens exactly. >Regards, >-- >Benoît Minisini Of course, and thanks again Here is the link: http://www.tecleandocodigo.webcindario.com/ Regards -

Re: [Gambas-user] Where do put translation package for a gambas application (specifically IDE)?

2010-04-12 Thread Leandro Santiago
Ow, now I see the program: the LANGUAGE environment var. By default, in Ubuntu (pt_BR), its value is pt_BR:pt:en, but i needed to change this to pt_BR.UTF-8. Is this LANGUAGE variable in POSIX spec? Thx 2010/4/11 Benoît Minisini > > Ok. Now I'm doing it. I'm using translation dialog. > > > > I

Re: [Gambas-user] Gambas on Synolgy DS-209+II

2010-04-12 Thread Benoît Minisini
> Hi, I'm trying to install gambas on my Synology DS-209+II NAS. So far > bad luck. I'm not very experienced in Linux, so it might me my > shortcoming ... This is what I did: > [...] You need libtool 2. Gambas does not compile anymore with libtool 1.5. Regards, -- Benoît Minisini -

[Gambas-user] Gambas on Synolgy DS-209+II

2010-04-12 Thread Theo Kraai
Hi, I'm trying to install gambas on my Synology DS-209+II NAS. So far bad luck. I'm not very experienced in Linux, so it might me my shortcoming ... This is what I did: 1. installed IPKG 2. installed Synology development software (ipkg install optware-devel). See logging: Installing opt

Re: [Gambas-user] htonl equal

2010-04-12 Thread Les Hardy
I guess *gb.BigEndian* and *gb.LittleEndian* are what you are looking for. *System.ByteOrder* will return the endianness of the operating system. Regards Les Hardy Mohammad Razeghi wrote: > Hi > > I am looking for c++ htonl function equal in gambas can any one help please > ? > > Thanks ...