I tried code from the following documentation: Reading a String and Writing It To a File But it doesn't work and reports a compiler error: No me ...
I tried code from the following documentation: Reading a String and Writing It To a File But it doesn't work and reports a compiler error: No me ...
I need to read the content of an unknown type and size file and temporary save it (in some kind of variable) so I use it later for transferring throug ...
I'm trying to write larger chunks to increase the speed of the file save. I have about 9 of these loops to convert but I can't figure out what I'm doi ...
I tried to create a function/method which should write to a file with a header filled with zeros But when I check the file which was created, it ha ...
I am getting crazy. I am trying to save an array of packed record to disk to be read later on. The following unit contain mainly two procedures. ...
A tool I'm writing is responsible for downloading thousands of image files over a matter of many hours. Originally, using TIdHTTP, I would Get the fil ...
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 use Berlin in Windows 10. I try to save tList<string> to a file. I know how to handle tStringlist, tStreamWriter and tStreamReader but I nee ...
I've written a Delphi program which creates MJPEG files, which can be several GB in length. The JPGs are grabbed from a DirectX camera using DSPack. T ...
I'm using Delphi XE8 for developing mobile apps and Desktop application. In mobile application, I'm using TIDtcpClient component and in Desktop applic ...
I already tried to read the file into a TFileStream but that is where I got stuck the file is inserted into the TFileStream but I am unable to read th ...
I am trying to save a line for each event containing a piece of text and the time + date when happened. The problem is: time is shown as Chinese ...
I'm using TFileStream.Read in a loop to read a text file, but I find that the last part is not being read into the buffer - although the total number ...
I've written client/server code that moves files back and forth between systems via a Delphi written WebService. Due to limitations of the gateways in ...
I'm a college student (UK) using delphi for my A2 Computing project. I'm really not very advanced so please bear with me! OK, so I'm using TStringList ...
Haven't needed to post here for a while, but I have a problem implementing filestreams. When writing a string to filestream, the resultnig text file h ...
I am using Free Pascal 2.6.4 32-bit on Windows 8.1. I want to use a TFileStream to copy a file. The compiler is not recognizing the TFileStream: ...
I have a stream reader line by line (sr.ReadLine()). My code counts the line-end with both line endings \r\n and/or \n. How to tell to code (instea ...
I have a requirement to make the files in a file server available for download through an application running on a web server. Users would be clicking ...
I am having trouble with some Delphi code that uses TFileStream to read chunks of data from a file to a dynamic array. The original objective in writi ...