Re: [fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-18 Thread silvioprog
On Sat, May 16, 2015 at 2:19 PM, silvioprog wrote: > On Sat, May 16, 2015 at 1:51 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: >> >> On Sat, 16 May 2015, silvioprog wrote: >> >>> [...] >>> >> Set the stoUseImplicit option on the transaction: >> >> VCon.Transaction.options:=[stoUseIm

Re: [fpc-pascal] Truncate procedure unable to work under Linux, is this a bug?

2015-05-18 Thread Jürgen Hestermann
Am 2015-05-18 um 09:30 schrieb Michael Van Canneyt: Function FileTruncate (Handle: THandle; Size: Int64) : boolean; but even that does not work with files >2Gb on unix, because the underlying system call does not support it. I don't know what happens on Windows. On windows it should be pos

[fpc-pascal] fcl-net and fpasync

2015-05-18 Thread Xiangrong Fang
Hi All, I try to write a tcp client program, and found this page: http://pascalgeek.blogspot.com/2012/06/encryption-decryption-and-asynchronous.html which is the only resource I found using fcl-net. But there is a big problem: it did not tell how to receive message back from the server. I trie

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

2015-05-18 Thread Michael Van Canneyt
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 CreateDB() implemented, but TSQLite3Connection doesn't. I

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

2015-05-18 Thread Graeme Geldenhuys
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 CreateDB() implemented, but TSQLite3Connection doesn't. Is this implemented in the upcoming FPC 3.0 or in 3.

Re: [fpc-pascal] Truncate procedure unable to work under Linux, is this a bug?

2015-05-18 Thread Michael Van Canneyt
On Sun, 17 May 2015, Géza Kovacs Géza wrote: Truncate procedure unable to work under Linux, is this a bug? This code is unable to work under linux: the Truncate drops an error message if the file is larger than 2 or 3 GB. I tested it with Free Pascal 2.6.4 under Debian Jessie 64 bit. It produc