On Wed, 14 Sep 2005, Alexander Todorov wrote:

> On 9/14/05, Joost van der Sluis <[EMAIL PROTECTED]> wrote:
> > > btw: where should I send the patch Lazarus or FPC team?
> > > db.pp is in [LAZARUS]\fpcsrc\fcl\db\db.pp
> > 
> > Send them to me, of to the fpc-devel list. And can you tell me where you
> > needed the TFieldList for?
> 
> I am porting a custom TDataSet descendant from Delphi source and it
> uses it. May be I shouldn't add TFieldList and use another class ?
> Which one ?

TFieldList is not implemented. The internals of TDataset.Fields have 
changed over the versions of Delphi, and the implementation in FPC 
(based on D3) has not been kept compatible in a consequent way... 

> btw atthe moment db.pp is full with errors. I got confused with some
> misses / differences between delphi and fpc. trying to fix that asap.

Please, when fixing things, DO NOT copy Delphi VCL code. 

I had a few patches that simply replaced FPC code with Delphi VCL code, 
and that is NOT allowed. TDataset is a difficult class, and simply grabbing 
Borland's code is not an acceptable solution.

If you need help/explanations, you can always contact me or Joost.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to