Vote UpVote

Reading files that are locked by other references: c# – Notepad beats them all? – Stack Overflow

The Wiert Corner – Cool feature borrowed from Notepad, which can read files locked by other references (for instance a process having the handle open): [WayBack] c# – Notepad beats them all? – Stack Overflow. The example from the answer is in .NET, but can be used in a native environment as well (Notepad is a native application). Notepad reads files by first mapping them into memory, rather than using the “usual” file reading mechanisms presumably used by the other editors you tried. This method allows reading of files even if they have an exclusive range-based locks. You can achieve the ...
Favorite? Off-Topic? jpluimers @ 2018-08-16 19:04


Visits: 185
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)