[Lazarus] [patch] - Translation lookups always fail on Identifier lookups
graemeg.lists at gmail.com
Tue Mar 4 11:37:30 CET 2008
Op woensdag 27-02-2008 om 20:05 uur [tijdzone +0200], schreef Denis
> Hi, all.
> At the time of PocketPC programming using Lazarus, I found some bugs/features :).
> I'd like to discuss them before posting to bugtracker.
> 1. When using TMemDataset and compiling for ARM processor bus errors (misaligned data) appear here and there.
> Now I solved the problem by inserting packed directive in TMTRecInfo record. Such as:
> TMTRecInfo = packed record
Well, TMemDataset is officially 'maintained' but in practice it didn't
had any updates for years. The main idea is to let TBufdataset replace
TMemDataset. But as long that is not possible... maybe I should have a
look at TMemDataset.
Secondly I've never cared about alignment in the db-units. More an more
people are using it on ARM-based machines, though. And I recieve more
and more reports about problems. So I'll have to look into the
> Maybe some knows better solution?
> 2. Defining fields in TMemdataset using FieldDefs and trying to open dataset results in segfault. CreateTable must be called before.
> Correct me if I'm wrong, but TDataset ideology says dataset must create fields on open.
Yes, it should. But only if the 'dataset' already exists. This is
clearly never the case with a TMemDataset. (Unless you read it from
disk, for example)
So I'm not sure what to do here.
More information about the Lazarus