[Gambas-user] Component written in C and Gambas

Jussi Lahtinen jussi.lahtinen at gmail.com
Wed Nov 17 22:57:05 CET 2021


I really can't see what the problem is. Just pack the library (or its code)
along with the gambas component.

Jussi

On Wed, Nov 17, 2021 at 11:46 PM Carlos Kabronsete <
carloskabronsete at gmail.com> wrote:

> 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 ]----
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211117/0fcc0caa/attachment.htm>


More information about the User mailing list