Forum > Beginners

File handling info

(1/3) > >>

DiCri:
Where i can find a thread related to advanced file handling? I know sysutils but are they other avanced units that can work with files? Thanks

Phil:
Look in the Laz lazutils folder. Many of the functions in fileutil..pas unit, etc. are self-explanatory.

Note these units do kind of tie your code to Lazarus, so if you're writing a console app or dynamic library (or some day might adapt your app's code for that), make sure you check that the lazutils units you're using aren't dragging in LCL code.

-Phil

DiCri:

--- Quote from: Phil on August 06, 2016, 07:58:34 pm ---Look in the Laz lazutils folder. Many of the functions in fileutil..pas unit, etc. are self-explanatory.

Note these units do kind of tie your code to Lazarus, so if you're writing a console app or dynamic library (or some day might adapt your app's code for that), make sure you check that the lazutils units you're using aren't dragging in LCL code.

-Phil

--- End quote ---
I'm using FreePascal

Thaddy:
Most of the file handling, advanced or not, is simply in the system unit.
Since really advanced file handling differs greatly between operating systems and disk formats what exactly are you looking for?

There is not really anything "advanced" to recommend otherwise. So plz give one or more examples of what you want.

E.g. Memory mapped files?, transacted files? Virtual files? Sparse files?

DiCri:

--- Quote from: Thaddy on August 07, 2016, 08:46:03 am ---Most of the file handling, advanced or not, is simply in the system unit.
Since really advanced file handling differs greatly between operating systems and disk formats what exactly are you looking for?

There is not really anything "advanced" to recommend otherwise. So plz give one or more examples of what you want.

E.g. Memory mapped files?, transacted files? Virtual files? Sparse files?

--- End quote ---
Thing that windows normally does. For example copy and paste same files in other folders.. delete files/folders ecc

Navigation

[0] Message Index

[#] Next page

Go to full version