At 19:54 11/09/2006, you wrote:
I don't tested this with large files, but why don't you use TMemoryStream:
var
myFile: TMemoryStream;
begin
myFile := TMemoryStream.Create;
myFile.LoadFromFile('c:\myfile');
...
end;
Not need OOP for do it, i need as much speed as i can and using a
plain array is faster than a stream. Also, now all compiles, perhaps
for a temp files cleaning or the dos<->win32 (i don't use "windows"
in uses clause, or my ide have dos as default) as Marco said.
Thanks again to all.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal