Solved

I need use the Saveto stream

Posted on 1999-01-12
1
122 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 109
Machine not responding during CopyFile() 3 98
find a node in VST 2 69
oracle global variables 4 69
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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.

821 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