But the first 3 lines of the CreateBitmap24 function are
begin
Result := nil;
Result := TBitmap.Create; // CREATED HERE!
Result.PixelFormat := pf24bit;
Result.Width := s_w;
Result.Height := s_h;
.
.
.
end;
wile64 wrote:
2007/11/25, Dominique Louis <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
Yes in this case the function that calls CreateBitmap24 will take care
of freeing the Bitmap. But this does not fix my original problem to do
with the AV on line Result.LoadFromIntfImage( ScanLineImage );
Dominique.
Result does not exist, it must be created that is why there was an error.
--
Laurent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives