[Lazarus] Handling Firebird connection

2014-08-25 Thread Richard Mace
Hi all, I have the following code that I use to connect to a Firebird database, which works fine, however, if the Firebird server becomes unavailable, fIBConnection.Connected always returns true. What's the best way of checking to make sure that the Firebird server is still available before I

Re: [Lazarus] Handling Firebird connection

2014-08-25 Thread SPRL AFOR
Le 25/08/2014 09:32, Richard Mace a écrit : Hi all, I have the following code that I use to connect to a Firebird database, which works fine, however, if the Firebird server becomes unavailable, fIBConnection.Connected always returns true. What's the best way of checking to make sure that

Re: [Lazarus] Handling Firebird connection

2014-08-25 Thread Richard Mace
Antonia, Many thanks for your reply. I'll re-code my app and do some more testing. Richard On 25 August 2014 09:19, SPRL AFOR afors...@gmail.com wrote: Le 25/08/2014 09:32, Richard Mace a écrit : Hi all, I have the following code that I use to connect to a Firebird database, which

Re: [Lazarus] Handling Firebird connection

2014-08-25 Thread Richard Mace
​Hi Antonia​, This sequence does not protect against the server disconnection between two consecutive database calls. ​Would you mind giving me an example of this? Thanks Richard ​ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread C Western
On 24/08/14 16:44, Joost van der Sluis wrote: On 07/21/2014 10:11 PM, C Western wrote: Managed to create a small test program: program tproj; uses sysutils; procedure a(const s: string); var a: string; r: array [0..10] of Double; begin a := s+s+s; r[8] := StrToFloat(a); WriteLn(a,

Re: [Lazarus] font.name=default

2014-08-25 Thread Philippe
nice. I´ll try it. (my recursive procedure worked well, not a big deal!). I had some difficulty to find informations about controls, components ... if you about them you can find the reference ... but it does not help much! ... any hint? P. Em 24.08.2014 21:48, Hans-Peter Diettrich

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Dmitry Boyarintsev
On Mon, Aug 25, 2014 at 6:26 AM, C Western l...@c-m-w.me.uk wrote: 1. How about a slow step option? What's is slow step option? Is it stepping over each instruction until the next known line reached? 2. Could the compiler add more information to make this easier? Or is it simply a matter of

Re: [Lazarus] Handling Firebird connection

2014-08-25 Thread A. Fortuny
Le [...] 25/08/2014 12:13, Richard Mace a écrit : Hi Antonia, This sequence does not protect against the server disconnection between two consecutive database calls. Would you mind giving me an example of this? What I mean is that the physical TCP/IP connection between the aplication

Re: [Lazarus] font.name=default

2014-08-25 Thread Hans-Peter Diettrich
Philippe schrieb: nice. I´ll try it. (my recursive procedure worked well, not a big deal!). That's what I use, too, sometimes :-) I had some difficulty to find informations about controls, components ... if you about them you can find the reference ... but it does not help much! ... any

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Joost van der Sluis
On 08/25/2014 02:02 PM, Dmitry Boyarintsev wrote: On Mon, Aug 25, 2014 at 6:26 AM, C Western l...@c-m-w.me.uk mailto:l...@c-m-w.me.uk wrote: 1. How about a slow step option? What's is slow step option? Is it stepping over each instruction until the next known line reached? As I wrote

Re: [Lazarus] font.name=default

2014-08-25 Thread Philippe
thank you for these informations ... it helps! Philippe Em 25.08.2014 11:02, Hans-Peter Diettrich escreveu: Philippe schrieb: nice. I´ll try it. (my recursive procedure worked well, not a big deal!). That's what I use, too, sometimes :-) I had some difficulty to find

Re: [Lazarus] LazReport: TfrReport.LoadFromFile question

2014-08-25 Thread Jesus Reyes
Please file a bug report, at least the unexistant .lrf case should trigger an exception. Jesus Reyes A. El Domingo, 24 de agosto, 2014 16:56:44, Bart bartjun...@gmail.com escribió: Hi, TfrReport.LoadFromFile does not raise an exception (or return ay other indication of error) if the file

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Dmitry Boyarintsev
On Mon, Aug 25, 2014 at 10:47 AM, Joost van der Sluis jo...@cnoc.nl wrote: 2. Could the compiler add more information to make this easier? Or is it simply a matter of compiling everything with a stack frame? How about using a 3d party library compiled without debugging info / stack