Sorry I don't quite understand what you mean.

Result is not freed in the function so the Bitmap should be fine.

Please explain further.

wile64 wrote:
Sorry, He's not finish


I am not sure but this test.

var
  BmpResult: TBitmap;
begin
  ...
  ...

BmpResult:=TBitmap.Create;
BmpResult.LoadFromIntfImage( ScanLineImage );

Result:=BmpResult;
ScanLineImage.Free;

Not BmpResult.Free in function

--
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64 <http://wiki.lazarus.freepascal.org/Wile64>
French Forum : http://lazforum-fr.tuxfamily.org/index.php

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to