[fpc-devel] [Fwd: TMemDataset : pb & suggestions]

Florian Klaempfl florian at freepascal.org
Sat Oct 7 10:27:00 CEST 2006


Oro06 schrieb:
> Florian Klaempfl wrote:
>> Redirected to fpc-devel for a larger audience.
> actually this give an alignement  error:
> 
> PRecInfo(Buffer+FRecInfoOffset)^.BookmarkFlag := Value;    (memds line 
> 750, procedure TMemDataset.SetBookmarkFlag)
> 
> 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?



More information about the fpc-devel mailing list