H
han
Unregistered / Unconfirmed
GUEST, unregistred user!
//Image:TImage;Jpg:TJepgImage;
Image.Picture.Bitmap.Handle:=BHandle;
Image.Picture.Bitmap.SaveToStream(ScrStream);
ScrStream.Clear;
Jpg.Assign(Image.Picture.Graphic);
Jpg.Compress;
Jpg.SaveToStream(ScrStream);
这样是对的但是
Image.Picture.Bitmap.Handle:=BHandle;
Jpg.Assign(Image.Picture.Graphic);
Jpg.Compress;
Jpg.SaveToStream(ScrStream);
却错了(raised exception class EOutOfResources with message'参数错误'),为什么?
Image.Picture.Bitmap.Handle:=BHandle;
Image.Picture.Bitmap.SaveToStream(ScrStream);
ScrStream.Clear;
Jpg.Assign(Image.Picture.Graphic);
Jpg.Compress;
Jpg.SaveToStream(ScrStream);
这样是对的但是
Image.Picture.Bitmap.Handle:=BHandle;
Jpg.Assign(Image.Picture.Graphic);
Jpg.Compress;
Jpg.SaveToStream(ScrStream);
却错了(raised exception class EOutOfResources with message'参数错误'),为什么?