Delphi read binary file blockread
How big your binary file is? Flush binary file from disk cache to disk, FAQD. Question has a verified solution. I may be able to help if I can get a feel for exactly what you are doing
Tackle projects and never again get stuck behind a technical roadblock. I sorted this by putting a loop around reading sLine[nLoop] and that worked. TFileRec is the internal format for typed and untyped files. Thanks zebeda you answer worked.
Read your binary image file as follows: ZipGrep is a utility that can list and search zip. ZhaawZ Software Developer Commented: Ok, I can see hwo that would work, but how can you send me some source that will do the following.
At least it works nwo though: Delphi only delphi read binary file blockread supports exclusive "reads" from typed or untyped files. However, you can use TTextRec to typecast a text file variable to access the internal data fields, such as the file name. I can make you a demo that lets you store any string of any length into pretty much any file and retrieve,replace,delete,al ter it by refering to it by name. Read to read in 4 bytes at a time then map these to Single.
How big your binary file is? I can increase the points depending on the answer. We will never share this with anyone.
Thommy and Beneford, thanks for these suggestions. Any ideas would be gratefully recieved. It's best I think to store data in a file by name, not by it's length and location within the file.
Sign up today x. Look at this example: Sign up with LinkedIn. When you find word "revision" then on the same way read value you are looking for.
Tackle projects and never again get stuck behind a technical roadblock. Sign up with Facebook. I can increase the points depending on the answer. But if you really need it in memory e. I can make you a demo that lets you store delphi read binary file blockread string of any length into pretty much any file and retrieve,replace,delete,al ter it by refering to it by name.
I then tried using BlockRead, but that gives the same problem as well as destroying my local loop variable and other localstring variables. I have binary files Oracle Forms compile. Get a personalized answer when you ask a related question.