[Gambas-user] Component written in C and Gambas
Brian G
brian at westwoodsvcs.com
Wed Nov 17 19:19:07 CET 2021
What are you doing in your c code?
Could you not do what your doing inside a gambas program.
You can call all and any c library function, handle callbacks etc directly from a gambas application.
"Failure is the key to success;
each mistake teaches us something" .. Morihei Ueshiba
Brian G
----- On Nov 17, 2021, at 10:16 AM, Brian G <brian at westwoodsvcs.com> wrote:
> you can call all your
> "Failure is the key to success;
> each mistake teaches us something" .. Morihei Ueshiba
> Brian G
> ----- On Nov 17, 2021, at 9:12 AM, Carlos Kabronsete
> <carloskabronsete at gmail.com> wrote:
>> Hi
>> I have written a component in C and Gambas.
>> How to convert everything into a single code?
>> 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)
>> Is there any other alternative?
>> 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.
>> Thanks in advance
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211117/127a672c/attachment.htm>
More information about the User
mailing list