10
votes
Vote UpVote

Is File In Use

JEDI Windows API – In a thread on DelphiPraxis there was a question that comes up several times a year. However, this time I could remember that there is actually an COM API that can solve the problem. The question was about how to find out which process has a lock on a file. The main problem was, in deed, that I could not remember the API’s name so Assarbad put some effort in retrieving it. Thanks. The name of the API is IFileIsInUse, an interface. It resides in Shobjidl.h, Shobjidl.idl and newly in JwaShlObj.pas. This is the translation: {$IFDEF WINVISTA_UP} const   IID_IFileIsInUse: TGUID = ( ...
Favorite? Off-Topic? Christian Wimmer @ 2010-11-14 20:57

Statistics

Visits: 1023
Votes: 10
Favorites: 2
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Barton_Stano
Chris Rolliston
homolibere
Jan Derk
ket555
Kibab
Sorcerer
stOrM!
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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