[Lazarus] tail on windows

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Jul 19 08:47:58 CEST 2010


Marc Weustink schrieb:

>> Is it really that complicated under windows to open a file shared
>> readable?
>> Why is an Assign, Close, Assign, Append needed?
> 
> You need to make sure a file exists. IIRC it is not possible to create a 
> file for sharing, you can only open a file sharable

You mean that the Append is that stupid, that it needs an already 
existing file? Or is that behaviour required for compatibility reasons?

At least on Windows all files are created or opened with the unique 
CreateFile procedure - do other platforms require multiple different 
calls for that purpose?

DoDi





More information about the Lazarus mailing list