Re: [fpc-pascal]SQLITE with FPC
On Tue, 12 Aug 2003, James Mills wrote: On Wed, Aug 06, 2003 at 07:18:33PM +0200, Jilani Khaldi wrote: Hi All, could someone point me where to find the sqlite.pas for FP to use with Linux Linux? Any hint or examples is welcome. jilani Let me know if you find a TDataSet class that'll work with FPC and Sqlite on Linux. Cause I haven't yet... There are some around on torry.net but they're for delphi using windows. I've asked the author if he could convert it to FPC for linux but without much luck atm. Can you point it out to me ? Normally it should compile as-is. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLITE with FPC
On Wed, Aug 06, 2003 at 07:18:33PM +0200, Jilani Khaldi wrote: Hi All, could someone point me where to find the sqlite.pas for FP to use with Linux Linux? Any hint or examples is welcome. jilani Let me know if you find a TDataSet class that'll work with FPC and Sqlite on Linux. Cause I haven't yet... There are some around on torry.net but they're for delphi using windows. I've asked the author if he could convert it to FPC for linux but without much luck atm. I say this because you're going to run into pascal string problems like I have. cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLITE with FPC
Let me know if you find a TDataSet class that'll work with FPC and Sqlite on Linux. Cause I haven't yet... There are some around on torry.net but they're for delphi using windows. I've asked the author if he could convert it to FPC for linux but without much luck atm. However I couldn't get SQLITE to work with FPC :-( under Linux while under Winodze it works fine! I get: Inconsistency detected by ld.so: dl.minimal.c: 128: realloc: Assertion 'ptr == alloc_last_block' failed! What can I do to get it work? Thanks! ps. sqlite.pp and sqlitedb.pp are compiled without error. jilani ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLITE with FPC
[ Charset ISO-8859-15 unsupported, converting... ] Let me know if you find a TDataSet class that'll work with FPC and Sqlite on Linux. Cause I haven't yet... There are some around on torry.net but they're for delphi using windows. I've asked the author if he could convert it to FPC for linux but without much luck atm. However I couldn't get SQLITE to work with FPC :-( under Linux while under Winodze it works fine! I get: Inconsistency detected by ld.so: dl.minimal.c: 128: realloc: Assertion 'ptr == alloc_last_block' failed! What can I do to get it work? Thanks! ps. sqlite.pp and sqlitedb.pp are compiled without error. Do you use unit cmem ? If not try to add cmem to the USES line of your mainprogram. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLITE with FPC
Do you use unit cmem ? If not try to add cmem to the USES line of your mainprogram. That is. Thank you very much! jilani ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLITE with FPC
A TSQLLiteQuery would seem more like it. I actually need to add some basic SQL functionality to a product without going the whole hod and using Interbase (big overhead to process a simple query once in a blue moos) so this is something I might look into. This is something I could justifably do in working hours (unlike source code merge util) so it has more likelihood of happening sooner rather than later. Installed Gentoo today (mainly to set up dedicated Perforce server and telnet/ftp machine), so I'll give FPC Linux a whirl in the next week or so ;-) Matt - Original Message - From: James Mills [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:24 PM Subject: Re: [fpc-pascal]SQLITE with FPC On Wed, Aug 06, 2003 at 07:18:33PM +0200, Jilani Khaldi wrote: Hi All, could someone point me where to find the sqlite.pas for FP to use with Linux Linux? Excellent someone else that wishes to use sqlite with FPC :) I'll attach all relevant sources... However a TDataset class still needs to be written (although not 100% necessary). I can't write it though, no knowledge of Datasets... cheers James Any hint or examples is welcome. jilani ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal]SQLITE with FPC
Hi All, could someone point me where to find the sqlite.pas for FP to use with Linux Linux? Any hint or examples is welcome. jilani ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]SQLite and FPC
On Wed, 25 Jun 2003, James Mills wrote: Hi all, I'm wondering if anyone would do me the favour of either writing a unit for sqlite (2.8.3) or fixing Eric Jourde's BeOS unit which doesn't work for the current SQLite version (2.8.3). I do not have the skills necessary to interface C libraries and pascal. Michael.VanCann converted the headers for SQLite (2.8.3 I believe) to fpc, I'll include these as well as Eric Jourde's unit. What is the problem with the converted header files ? Is it not enough ? Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal