[Lazarus] TBufDataSet, TMemDataSet and a big headache.

Maxim Ganetsky ganmax at narod.ru
Sat Jul 17 14:33:16 CEST 2010


17.07.2010 5:54, Marcelo B de Paula пишет:
> Hello list,
>
> After trying to figure out how TBufDataSet handles persistent TFields, i
> came to the following conclusion: There are so many problems and bugs
> that i can handle.
>
> NewField property editor continue with some implementation problems. The
> Size field is simply not used anywhere. Which means that when user type
> some value on it, it does nothing.
>
> Fields Editor editor created successfully the persistent TField in code.
> Than, while trying to delete these fields, i faced with an AV. Patch
> sent to Mantis #16958. After this, AVs stopped and persistent fields
> were removed from code. But not from .lfm, and i don´t know why.
>
> Although fields are created successfully with TBufDataSet
> "CreateDataSet", they are useless. They don´t retain any information.
> Seems some memory issue. Integer Fields displays garbage and String
> Fields simply don´t retain any information. If assigning values to
> fields in code (FieldByName) i obtain a SIGSEV. Not tested other fields
> types.
>
> So, sorry guys. It looks like that you need to full review Lazarus
> related to these components (BufDataSet,MemDataSet,...). I know that
> people was using these component only in code. But it does not make
> sense to me, having an IDE, a specific component in palette and can´t
> use it at design time, only in code.
>
> Now i just want to know if any of the "gurus" here will take some action
> or i should bugreport all these problems.

Report the bugs, please.

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru




More information about the Lazarus mailing list