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
> 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
>
>
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 "
-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
>
> > >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
-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
> >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
-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
>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
-
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
> 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
-
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
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 ...
13 matches
Mail list logo