[fpc-devel] [Fwd: TMemDataset : pb & suggestions]
Oro06
orinaudo at gmail.com
Sat Oct 7 17:51:37 CEST 2006
sample attached based on testpop (from memds dir)
run well on win32.
line 739 : PRecInfo(Buffer+FRecInfoOffset)^.BookmarkFlag := Value;
give Bus error or misaligned data access TMemdataset.set_bookmarkflag,
line 739
replacing line 739 with that :
APRecInfo:=PREcInfo(Buffer+FRecInfoOffset);
Unaligned(APRecInfo^).BookmarkFlag := Value;
give this at compile time:
Fatal: Internal error 20060521
regards
or
>>
>> replacing with this :
>> APRecInfo:=PRecInfo(Buffer+FRecInfoOffset);
>> Unaligned(APRecInfo^).BookmarkFlag := Value;
>>
>> give Internal error 20060521
>>
>
> Can you create a short compiling/crashing example which shows the
> problem?
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testpop.pas
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20061007/201fbc46/attachment.ksh>
More information about the fpc-devel
mailing list