[WinCE] Bus error when using TSdfDataset
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
I tried to use TSdfDataset in a Windows Mobile ARM application, but I got an EBusError exception when I tried to do anything useful with the Dataset (the first occurence was when calling "First").
Additional information:
The attached patch adds some "unaligned(...)" typecasts to sdfdata.pp. As I don't know whether all of these are necessary or whether they are done the right way (it works now, though ^^), I'd like someone more experienced with unaligned to comment on this.
I'll also attach a modified version of testsdf.pp which shows the bus error exception as well (but here the first critical call is not "First"). The modifications are mostly related to the fact that WinCE doesn't have a console (by default) nor a current directory.
Mantis conversion info:
- Mantis ID: 17871
- OS: WinCE
- OS Build: 5.0
- Platform: ARM
- Version: 2.5.1
- Fixed in version: 3.0.0
- Fixed in revision: 30883 (#ab93b0bb)