I am trying to read two strings of varying length from a TMemoryStream, but both streams end up being the same length. So if, for example, the first s ...
I am trying to read two strings of varying length from a TMemoryStream, but both streams end up being the same length. So if, for example, the first s ...
In a Delphi program, I have a dynamic array with 4,000,000,001 cardinals. I'm trying to write (and later read) it do a drive. I used the following: ...
I am new of Delphi. In the documentation of TStrem class, i read it is an abstract class. So i think the compiler goes in error when i try to create i ...
I have a class that inherits from TFileStream and a class that inherits from TMemoryStream. Both implement exactly the same functions to do with readi ...
I am developing an application in delphi. I am trying to extract an image that is saved in database, save it to TMemoryStream and load same image at T ...
I've copied a file into the Windows clipboard (By simply clicking right, copy). I would like to load a TStream descendant with the file currently stor ...
I'm working on a project that sends data between clients using streams. It implements a bunch of stream operators to support this. It worked fine in C ...
I am using Delphi 7 and playing with a StringList, with TStream as object. My test project has a ListBox, a Memo and 2 buttons (Add and Remove). Her ...
I try to send a string from a tidtcpserver to a tidtcpclient in Delphi, but when i send a string the client receives nothing. I don't get any errors. ...
I've a DataSnap server method returning a file. In my test case the file is a simple .PDF. I'm sure this function works fine, as I'm able to open ...
I have some derived Stream classes for older versions of RADStudio that just reimplement the Read,Write,Seek methods, and the Size and Position proper ...
I have the following code snippet I have a problem understanding the initialisation of bs variable. If I dont initialize it , a but obvious warnin ...
TStream is an abstract class. However about its implementations, are they buffer overflow proof? If I'm fetching a stream from the internet, from a ...
In the previous versions of Delphi, the following code: filled the variable InBuf with the correct values ( every byte had a value ). Now in Delphi ...
I need to extend TFileStream so that it can work with a file not from 0 offset, but from user defined offset. I mean it must interpret user defined of ...
I'm attempting to convert a string to a TStream. My code below gives me an "Abstract Error" message on the CopyFrom line. I'm against a brick wall her ...
I'm trying to write a Delphi console application that creates a TStream for its standard input, and another TStream for its standard output. (It will ...