Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

D1 streams

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
itoft
Asked:
itoft
1 Solution
 
ZifNabCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now