[Gambas-user] Component written in C and Gambas

Carlos Kabronsete carloskabronsete at gmail.com
Wed Nov 17 22:44:43 CET 2021


Not a single file.
I wrote my first C component for gambas and I want that as soon as that
component is installed it can work without searching for additional non
standard libraries.
This component has C functions and gambas functions.
Thanks
😀

El mié, 17 nov 2021 a las 22:07, Jussi Lahtinen (<jussi.lahtinen at gmail.com>)
escribió:

>
> How to convert everything into a single code?
>>
>
> What does that mean? Into a single file?
>
>
> I can compile the code in C and leave it in a library, but the component
>> would have two files (the gambas code and the library)
>>
>
> What is the problem in that?
>
>
>
>> The purpose of a library is to share code, but I do not need to share
>> code. I only need to call to four C functions from a Gambas application.
>>
>
> That is *one* purpose of a library.
>
>
> Jussi
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211117/25032685/attachment.htm>


More information about the User mailing list