• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

I need use the Saveto stream

My code is:

var
  St1:Tstream;
begin
  st1:=Tstream.create;
  Image1.Picture.graphic.savetostream(St1);
  st1.free;
end

but mark these error: 'Abstract Error'

why?

exist any major way ?

Thanks
0
jamiguel
Asked:
jamiguel
1 Solution
 
rwilson032697Commented:
Tstream is the abstract base class from which all the other stream classes are derived. Use TFileStream instead.

Cheers,

Raymond.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now