[Gambas-user] Component + C Library, how does it work

Linus olivier.cruilles at yahoo.fr
Mon Jun 8 16:17:26 CEST 2020


The file dwg.h from libdwg-0.6 src is a good start point for you work.

A lot of Structures and Enumeration are described
In the end of the file, the liste of functions

Olivier Cruilles

> Le 8 juin 2020 à 10:10, Linus <olivier.cruilles at yahoo.fr> a écrit :
> 
> Hello Martin,
> 
> You can find an example in the Farm of Gambas, a project named ‘gb.sshclient’ that I wrote for long time.
> This version is not the latest but it can give you a good overview.
> 
> I hope it could help you
> 
> The most important is to install the Devel package of you Library to find in the *.h files how to deal with the various C functions and declare those into Gambas
> 
> 
> Olivier Cruilles
> 
>> Le 8 juin 2020 à 09:55, Martín Belmonte <mbelmonte at belmotek.net <mailto:mbelmonte at belmotek.net>> a écrit :
>> 
>> Hello everyone.
>> I am trying to learn how to make a component that works with a C library (LibreDWG). Can anyone tell me where to find an example (Component + C) to study how it works?
>> Regards.
>> 
>> 
>> ----[ http://gambaswiki.org/wiki/doc/netiquette <http://gambaswiki.org/wiki/doc/netiquette> ]----
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200608/4a80d907/attachment.html>


More information about the User mailing list