Solved

I need use the Saveto stream

Posted on 1999-01-12
1
125 Views
Last Modified: 2010-04-06
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
Comment
Question by:jamiguel
1 Comment
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 0 total points
ID: 1356142
Tstream is the abstract base class from which all the other stream classes are derived. Use TFileStream instead.

Cheers,

Raymond.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to send memory stream from ics Client To ics server ? 11 174
Multiple image collision 13 87
Find and Replace Stream with 0s 8 71
migrate this code to work on android 1 27
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question