[Gambas-user] Get structure from extern function?

CJ lists at ...2828...
Fri Jul 4 08:45:32 CEST 2014


> > 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 interpreter with a Segmentation fault
(11) message?

If you are interesting to test yourself see my previous post to this list,
it includes
library and a simple testprogram.

/CJ






More information about the User mailing list