Hi.
In one of my applications I use an array of records (hundreds of items) with 4 memory streams (a few MB each) in each item.
Most of the times the data from one of the streams is backed up in one of the streams (for Undo) and then is modified and the result is copied into the other 2 and...
Hi.
I want to save the configuration of my program into its exe file (directly or in resources).
I know I can use registry or a separate configuration file but I prefer to save in exe.
Could you please help me..?
Thank you in advance.
Best regards, Cosmin
Hi.
What is the fastest way to create a file of a specific size (preferably without writing in it) on a nonNTFS partition..?
On a NTFS I use this:
var tf: TFileStream;
begin
....
tf := TFileStream.Create(FileName, fmCreate or fmShareExclusive);
tf.Size := [desired value];
tf.Free;
It's very...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.