![]() |
[Delphi] Help with binary files
First of all, don't laugh because I'm using Delphi...it's not my choice.
I have to rewrite a c program in delphi and I'm having trouble dealing with binary files. Here is my c code: Code:
FILE:*fp,*fp1; I need to do the same thing but only in Delphi. |
There is nothing wrong with Delphi it is a very good language. Most people just don't know about it and think it sucks. Those same people like VB.
Look at the FFileStream class it should do what you want. And fast to because you are not doing it byte by byte, it uses buffers instead. |
I finally figured out how to do this with block read and block write. Looks something like this:
Code:
var f1,f2:file; |
All times are GMT -8. The time now is 09:38 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project