Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Michael Schnell
On 03/06/2014 08:31 PM, Chavoux Luyt wrote: Years ago I used Delphi (on Windows) to access a C or C++ API You can't access a C++ API. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Danny Weldon
You can't access a C++ API. Not yet. But it is planned for the future: http://freepascal.org/future.var Linking with C++ code On 7 March 2014 18:29, Michael Schnell mschn...@lumino.de wrote: On 03/06/2014 08:31 PM, Chavoux Luyt wrote: Years ago I used Delphi (on Windows) to access a C

Re: [Lazarus] OnGuard

2014-03-07 Thread Reinier Olislagers
On 06/03/2014 20:47, Richard Mace wrote: Hi all, I tried to add the OnGuard package to Lazarus 1.2 and am unable to compile because it is complaining of a missing unit ogreg. Has anyone got this working recently? Thanks in advance, and many thanks for all who were involved in making 1.2

Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Sven Barth
Am 07.03.2014 10:13, schrieb Danny Weldon: You can't access a C++ API. Not yet. But it is planned for the future: http://freepascal.org/future.var Linking with C++ code And with quite some restrictions it already works, see $fpc/tests/test/cg/tcppcl{1,2}.pp. Regards, Sven --

Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Chavoux Luyt
Thanks everybody! The two links were just what I needed. And some parts were faintly familiar. :-) Cheers Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread John Landmesser
Hi, i want to dropdown the calendar of an DateEdit at start of my app, so the user will see what to do next. There is a DateEdit.Button.Clicḱ procedure and TCustomMaskEdit.DoButtonClick, but they don't show the calendar. Is it possible to show the calendar by code? thank you for a tipp!!

Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Daniel Gaspary
On Fri, Mar 7, 2014 at 6:38 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 07.03.2014 10:13, schrieb Danny Weldon: You can't access a C++ API. Not yet. But it is planned for the future: http://freepascal.org/future.var Linking with C++ code And with quite some restrictions it

Re: [Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread Antonio Fortuny
Le 07/03/2014 15:07, John Landmesser a écrit : Hi, i want to dropdown the calendar of an DateEdit at start of my app, so the user will see what to do next. There is a DateEdit.Button.Clicḱ procedure and TCustomMaskEdit.DoButtonClick, but they don't show the calendar. Just do

Re: [Lazarus] How to access C and C++ libraries?

2014-03-07 Thread Sven Barth
Am 07.03.2014 15:12, schrieb Daniel Gaspary: On Fri, Mar 7, 2014 at 6:38 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 07.03.2014 10:13, schrieb Danny Weldon: You can't access a C++ API. Not yet. But it is planned for the future: http://freepascal.org/future.var Linking with

Re: [Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread Antonio Fortuny
Le 07/03/2014 16:05, JmLandmesser a crit: DateEdit.Button.Click and the miracle takes place 8-) Antonio. Thats true, the miracle happened, thank you!!

Re: [Lazarus] TAChart stopped working

2014-03-07 Thread Marc Santhoff
Replying to myself: On Mo, 2014-03-03 at 02:41 +0100, Marc Santhoff wrote: Hi, while running a program using TAChart with a newer version of Lazarus (1.0.10 or 1.0.14) and fpc 2.6.2 an exception ERangeError is thrown. The program dates before Lazarus 1.0.10 and worked flawlessly then.

Re: [Lazarus] When does ComponentPageControl gets filled?

2014-03-07 Thread leledumbo
I've just installed Lazarus 1.2 and I realize that KZDesktop's way of embedding component palette no longer works as it was in 1.0.14. It looks like KZDesktop has overriden the event when ComponentPageControl gets filled. Do I need to call something to make it filled? Or perhaps an easier one,