Op maandag 12-05-2008 om 21:38 uur [tijdzone -0300], schreef Felipe Monteiro de Carvalho:
Show quoted text 12 lines
On Mon, May 12, 2008 at 6:46 PM, wrote:
> This might help a little to localize the problem: after removing the index
> from "angol.dbf" it opens without any problem.
Post a bug report to Free Pascal and attach the test app to it. I
never work in the datasets, so I can't help here. This is probably a
bug in the TDBf dataset.
In the mean time you can probably try other datasets. TDBf is known to
have problems with non-x86 architectures. Maybe someone else can
recommend a working dataset for wince, I rarely develop database
applications.
Only thing I know, is that most other databases also have problems with wince. First problem is that a lot of sql-based db engines simply don't support WinCE. Second problem are misaligned-data problems in the db-units.
And the only thing I know about alignment, is that it has something to do with starting each 'thing' (word, integer, longint) on an memory-location that could be divided by 2/4/8/whatever.
And since I'm the one who's responsible for the db-unit, that could give some problems.... ;)
I'll have to do some more research and try to get fpc working on a wince emulator or something, sometime, to fix this.
Joost