Hallo,

Zitat von
Bastler:
Delphi-Quellcode:
try
bmp.Assign(jpeg);
result:=bmp; // <<--- !
bmp.SaveToFile(ExtractFilePath(ParamStr(0))+'\temp.bmp');
finally
bmp.Free // <<--- ?
end;
Die Bitmap wird freigegeben, obwohl sie der Rückgabewert der Funktion ist?
Gruß Hawkeye