[fpc-pascal] TFPHashList and nil pointers

2015-05-19 Thread Serguei TARASSOV
Hello, Is it normal that TFPHashList cannot find an item by name if the pointer is nil? However, the item is stored in the list. FPC 2.6.4, both Windows and Linux versions. program project1; uses Contnrs; var List: TFPHashList; begin List := TFPHashList.Create; List.Add('Name1', Lis

Re: [fpc-pascal] SqlDB + SQLite3 - CreateDB() call

2015-05-19 Thread Graeme Geldenhuys
On 2015-05-19 12:41, LacaK wrote: > I have commited CreateDB/DropDB methods for TSQLite3Connection now (rev. > 30884-30885). > I did basic tests ... seems works, but I will be glad if somebody will > test it also. Awesome. Many thanks. I'll grab the latest code tonight. As for testing. Last nig

Re: [fpc-pascal] SqlDB + SQLite3 - CreateDB() call

2015-05-19 Thread LacaK
Dňa 18.5.2015 o 11:33 Michael Van Canneyt napísal(a): On Mon, 18 May 2015, Graeme Geldenhuys wrote: Hi, Does SqlDB+SQLite3 support creating a SQLite database via the TSQLConnection.CreateDB() call? I tested with FPC 2.6.4 and it doesn't seem to work. More specifically, TIBConnection has Cre

Re: [fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Dimitrios Chr. Ioannidis
On 19-05-2015 12:31, Michael Van Canneyt wrote: On Tue, 19 May 2015, Dimitrios Chr. Ioannidis wrote: Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardi

Re: [fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Michael Van Canneyt
On Tue, 19 May 2015, Dimitrios Chr. Ioannidis wrote: Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardinal. There is no reason to abandon TEvent ?

[fpc-pascal] RTLeventWaitFor Timeout

2015-05-19 Thread Dimitrios Chr. Ioannidis
Hi all, As I read that the TEvent is using obsolete functions I switched to RTLEvent. Now the RTLeventWaitFor has a TimeOut parameter declared as longint but in synobjs the INFINITE is Cardinal. Is there a definition of INFINITE constant somewhere else defined as Cardinal ? Regards,