[Gambas-user] Distribution of custom shared libraries
Cedron Dawg
cedron at exede.net
Fri Feb 22 20:26:07 CET 2019
Thanks. That's okay. I am trying to do things properly.
I was able to define a PPA and am now on version 3.12.2.
Notes about that:
I was using the GTK2. When I upgraded, the Form_Keypress event failed to fire. I switched to QT4, and it now works fine. This problem is reproducible with a simple test program.
I have a Struct defined in my code to share with the shared library.
Public Struct InfoBlock
AxisCount As Integer
ButtonCount As Integer
DriverVersion As Integer
Filler As Integer
GamepadName[128] As Byte
End Struct
typedef struct
{
int AxisCount;
int ButtonCount;
int DriverVersion;
int Filler;
char GamepadName[128];
} InfoBlock;
In the 3.1.1 version, the Filler was not there. When I upgraded, I needed to add the Filler to make the alignment correct. I know you mention in the docs that this is a tricky issue, so this is meant to be informative, I'm not looking for any kind of resolution.
----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
To: "user" <user at lists.gambas-basic.org>
Sent: Friday, February 22, 2019 2:14:40 PM
Subject: Re: [Gambas-user] Distribution of custom shared libraries
Le 22/02/2019 à 17:10, Cedron Dawg a écrit :
> Hello all,
>
[...snip...]
>
> Thank you very much,
>
> Ced
>
Sorry, I didn't answer your private mail. Anyway, it's better to talk
about Gambas on the mailing-list!
If you use Ubuntu, search google for "gambas stable ppa" (or "gambas
latest ppa" for the development version), and install Gambas from that.
Regards,
--
Benoît Minisini
----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
More information about the User
mailing list