I am using FileStreams with OpenRead + ShareDenyNone mode
Each File stream in Windows uses WinApi CreateFile

OpenRead requests read only access and ShareDenyNone means PSPad doesn't request
any lock (reading, writing).

I will try to change it a little, we will see. I tested it with locked files and
I was able open any file what Notepad is able to open too. 

There must be some other access, cause e.g. Lister in Total Commander is able to
open file even others are not.

-- 
<http://forum.pspad.com/read.php?2,65746,65828>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem