AV when changing size of TBitmap in library which is loaded from Delphi
Original Reporter info from Mantis: maciejmt
-
Reporter name: TM
Original Reporter info from Mantis: maciejmt
- Reporter name: TM
Description:
I've ported a Delphi library which generates bitmap images.
When I change size of created TBitmap object, I got AV.
When I run code in Lazarus IDE as standaolne app - it's working ok.
Propably AV is throwing somewhere here: AVGetRawImageDescriptionPtr
Steps to reproduce:
function INIT(Type: Word): Cardinal; stdcall;
var
T: TBitmap;
begin
T := TBitmap.Create;
T.Width:= 500; <-- here AV
Result := 0;
end;
Mantis conversion info:
- Mantis ID: 26543
- Version: 2.3 (SVN)