Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread CJ
I'm trying to receive a simple structure from a shared library but get an Type Mismatch error saying... wanted StructVersion, got Function instead in FMain:87 You must put () after the identifier to call it as a function. Fabien and Benoît, Unfortunately that crashes the Gambas

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread Ru Vuott
Hello, I tried to use your library, but I receive this notice/error: Cannot find dynamic library: ...etc..etc..: wrong ELF class: ELFCASS32 so, because I suppose it was written for an 386 system. (Isn't it ?) I am not able to create a shared library from a free Pascal code. bye vuott

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread CJ
Hi Voutt I tried to use your library, but I receive this notice/error: Cannot find dynamic library: ...etc..etc..: wrong ELF class: ELFCASS32 so, because I suppose it was written for an 386 system. (Isn't it ?) Yes, it's compiled for i386 under Xubuntu 14.04 LTS (32-bit). What Linux dist

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread Benoît Minisini
Le 04/07/2014 10:50, CJ a écrit : Hi Voutt I tried to use your library, but I receive this notice/error: Cannot find dynamic library: ...etc..etc..: wrong ELF class: ELFCASS32 so, because I suppose it was written for an 386 system. (Isn't it ?) Yes, it's compiled for i386 under Xubuntu

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread CJ
You would help by using gdb to get the stack backtrace of the crash. Thats probably a better start. Attached is result from gdb running libtest2... Or better using valgrind to get more details. I have no experience with that but will install and read up on it later if needed, let me know...

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread Ru Vuott
Hi, this is my system [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=1245M [Libraries] Cairo=libcairo.so.2.11301.0 DBus=libdbus-1.so.3.7.6

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread Jussi Lahtinen
I don't know the language, but shouldn't Tripple := numberin * 3 be Tripple := numberin * 3;? That would seem consistent. Also byte cannot hold values like 01, is just same as 1. Jussi On Fri, Jul 4, 2014 at 3:00 AM, CJ li...@hth.com wrote: Sorry if this message appears twice on the list,

Re: [Gambas-user] Filechooser change event don't raise

2014-07-04 Thread Benoît Minisini
Le 02/07/2014 15:04, Charlie Reinl a écrit : Salut Benoît, Filechooser change event don't raise when changing filename, only when changing DIR. Change event was raised when the *selected file* changes, not the filename textbox. In revision #6360, I raise it too when the selected file is

Re: [Gambas-user] gb.form.mdi : Attach/Detach

2014-07-04 Thread Benoît Minisini
Le 01/07/2014 06:28, B Bruen a écrit : I am doing some experiments with detachable tabs in the gb.form.mdi component. A couple of things have come to light that I would like to suggest (as a basis for discussion, rather than a bug or whatever). ... Does revision #6361 fit your needs?

[Gambas-user] TextEdit (and TextArea) Drag Drop inconsistencies

2014-07-04 Thread Orionis
On a form I have a TexEdit and a TextArea. I need to be able to select part of the text in the TextEdit with MouseDrag, but without the ability to move the selected text around or to drop it somewhere. During testing I found the following: - with MouseDrag disabled (stop event) I can't move the

Re: [Gambas-user] Get structure from extern function?

2014-07-04 Thread CJ
Hi, this is my system OK, I'm downloading Linux Mint 17 64-bit and will see if I can install it and compile. PS: I have a slow pipe so it will take a while to DL. /CJ -- Open source business process management

[Gambas-user] X11Systray

2014-07-04 Thread herberth guzman
Hi Benoit Mon ami Thanks for the corrections Gambas3 mentioned in the previous email. I have the following problem. If I open the example systray applets work well nm-applet gnome-sound-applet vlc but if another form displays the Form (Fmain) that loads the applets, the applets are displayed

Re: [Gambas-user] Request for the Gambas IDE: a way to query the help in an offline mode

2014-07-04 Thread Julio Sanchez
Version Test: Gambas3.5.3. adding suport offline reading help I modified the IDE gambas3.5.3, adding support offline reading help by pressing the keys Shift + F1 You have to install two program: 1) gambas3ayudaDisk Is modified IDE. 2) gambashelpdisk It is the program manager: - Install the

[Gambas-user] ERROR with vers. 6362

2014-07-04 Thread Ru Vuott
Hello, updating my Gambas3 with vers. 6362, I obtain this error: make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src' CXX gb_qt4_la-main_moc.lo CXX gb_qt4_la-main.lo main.cpp:1045:10: error: 'CWIDGET_background' was not declared in this scope (void *)CWIDGET_background,