[Lazarus] Dear developers... TStream.ReadAnsiString

Joao Morais post at joaomorais.com.br
Sun Sep 7 03:41:45 CEST 2008


Luiz Americo Pereira Camara wrote:
> Osvaldo Filho wrote:
>> Thanks for all. Sorry my insistence.
>>
>> Please see this code, it is original, it is in
>> http://fpc64.firmos.at:8060/browse/Lazarus/trunk/lcl/include/dbimage.inc?r1=9243&r2=10681 
>> <http://fpc64.firmos.at:8060/browse/Lazarus/trunk/lcl/include/dbimage.inc?r1=9243&r2=10681>
> 
> The TDBImage code will work only if the image is added to the TDataset 
> through a TDBImage control (it stores the extension before the image 
> data). If the image is added through TGraphicField/TBlobField it will 
> not work since it stores only the image data.

This is also a Delphi (issue?) feature iirc.

Joao Morais



More information about the Lazarus mailing list