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 <[email protected]> wrote: > > Sorry if this message appears twice on the list, had some issues posting > again... > > > Can you show the C code of that shared library ? > > It's a shared library written in Free Pascal 2.6.2. Attached is source code > as > well as a compiled library for Xubuntu 14.xx (i386), it's very basic > code... > > To install the library copy the file libtest.so to "/usr/local/lib" and > then > type "ldconfig". > > In the library are two functions exported. Tripple is only there to see > that > the library works... > > Tripple > LIBVersion > > The simple Gambas 3 demo first calls Tripple with "3" as an argument and > then > calls LIBVersion() but crashes the interpreter with a Segmentation fault > (11) message. > > Comment out the call to LIBVersion() and you should see "9" on the form. > > /CJ > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
