?
Solved

D1 streams

Posted on 1998-11-05
1
Medium Priority
?
188 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

Industry Leaders: 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!

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

801 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