?
Solved

D1 streams

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

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…
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

571 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