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, -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
