Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

D1 streams

Posted on 1998-11-05
1
Medium Priority
?
189 Views
Last Modified: 2010-04-04
I've declared a file stream, in to which i can pass data to and from other stteams, however i have a case where i wish to extract chars and strings from a stream. According to  the help files i should be able to use e.g. tempstring:=openreader.readstring;
as far as i can tell i've made the correct declarations, however when i run the program, this particluar line of code returns a 'invalid property value' error msg.
I'm probably just missing something basic, but its really annoying now.
0
Comment
Question by:itoft
[X]
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
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1345765
Hi itoft,

look at this example of Pablo Pissanetzky :

http://www.pablop.demon.co.uk/marley/downloads/tbfstrm.pas

This code should work for all Delphi versions.

Regards, Zif.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

604 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