Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

I need use the Saveto stream

Posted on 1999-01-12
1
123 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

861 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