[Lazarus] Minimal C bindings for Lazarus

willem wli222 at casema.nl
Sun Feb 17 09:23:44 CET 2008


Felipe Monteiro de Carvalho wrote:
> Hello,
>
> I managed to write minimal C bindings to use the LCL:
>
> http://wiki.lazarus.freepascal.org/LCL_Bindings
>
> You can create a window, put a button on it and attach a callback to the button.
>
> I don't have much of a need to go forward and finish it now, but I
> think it's a nice proof of concept that it's possible and it solves
> many of the most chalanging problems in creating such a thing. I
> developed it using DevC++ on Windows, so it's compilable with GCC and
> should work on other operating systems without change.
>
> The callback system was chalanging =) C doesn't support the register
> convention, but I managed to work around that with a smart macro and
> some assembly...
>
> For the german speaking community, there will be an article on the
> march edition of the german toolbox maganize explaining in details how
> it works: http://www.toolbox-mag.de/
>
> bye,
>   
Seems to me a very interesting Project  :-)

regards Wim



More information about the Lazarus mailing list