[Lazarus] Dear developers... TStream.ReadAnsiString

Luiz Americo Pereira Camara luizmed at oi.com.br
Sun Sep 7 01:36:39 CEST 2008


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.

Good luck.

Luiz



More information about the Lazarus mailing list