Re: [Lazarus] SQL parser

2010-08-18 Thread Lee Jenkins
Michael Van Canneyt wrote: One of the things I've been thinking about is integrating it with tiOPF, so one wouldn't need to write SQL any more. You could use it to reverse engineer all used SQL statements and convert it to something more OOP. It would be very cool to be have an OQL in

Re: [Lazarus] SQL parser

2010-08-18 Thread Michael Van Canneyt
On Wed, 18 Aug 2010, Lee Jenkins wrote: Michael Van Canneyt wrote: One of the things I've been thinking about is integrating it with tiOPF, so one wouldn't need to write SQL any more. You could use it to reverse engineer all used SQL statements and convert it to something more OOP.

[Lazarus] Experiences in converting Delphi apps

2010-08-18 Thread Lee Jenkins
Hi all, I'm thinking of porting a subset of my Delphi apps to Lazarus/LCL. These are apps that use minimal or no 3rd party components and have been written with some assumptions such as using PathDelim and friends with an eye towards possible conversion at some point. I tried the Delphi

[Lazarus] Exception handling in LCLMessageGlue

2010-08-18 Thread Torsten Bonde Christiansen
Hi Lazarus. Please forgive my ignorance if I'm asking a stupid question. In the DeliverMessage function in LCLMessageGlue the Application.HandleException is called with __nil__ as argument. Why is the actual target used here? It is already available at this point, and the callback function

Re: [Lazarus] Experiences in converting Delphi apps

2010-08-18 Thread Juha Manninen (gmail)
Hi If you don't have Windows API calls or other Windows specific technology, you have a chance of make it. :-) The biggest problem in conversion is still the form file, .dfm / .lfm. Components which exist in VCL but not in LCL are replaced by a fall-back LCL component. Like TValueListEditor is

[Lazarus] Reading\Writing Blobs (Maybe off-topic)

2010-08-18 Thread Andreas Berger
Sorry for this possible off-topic mail. I should ask at Zeos, but since I do not subscribe to their list I thought to try here. I need to read and write a blob (record) to a firebird database. I am using Zeos but no db-aware components. In other words I use only datasets and queries with

Re: [Lazarus] SQL parser

2010-08-18 Thread Dimitri Smits
- Michael Van Canneyt mich...@freepascal.org schreef: [snip on usage of new SQL parser] why stop there? Maybe a language-construct like LINQ in .Net for dynamic+iteratable resultsets? As far as I understand it, LINQ does the opposite; it expresses iterators in a kind of SQL syntax ?