Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Renaming a Registry Key Pin
Nish Nishant17-Apr-02 4:02
sitebuilderNish Nishant17-Apr-02 4:02 
GeneralRe: Renaming a Registry Key Pin
Andrew Stampor17-Apr-02 5:51
Andrew Stampor17-Apr-02 5:51 
Generalcustom ownerdraw controls without MFC Pin
DiegoValdevino17-Apr-02 3:45
DiegoValdevino17-Apr-02 3:45 
GeneralLearning Windows programming Pin
17-Apr-02 3:42
suss17-Apr-02 3:42 
GeneralRe: Learning Windows programming Pin
Ravi Bhavnani17-Apr-02 3:57
professionalRavi Bhavnani17-Apr-02 3:57 
GeneralRe: Learning Windows programming Pin
lucy17-Apr-02 6:03
lucy17-Apr-02 6:03 
GeneralRe: Learning Windows programming Pin
Jeremy Falcon17-Apr-02 6:08
professionalJeremy Falcon17-Apr-02 6:08 
QuestionHow to enumerate processes holding a lock on my file? Pin
Oliver C. Lanz17-Apr-02 3:39
Oliver C. Lanz17-Apr-02 3:39 
Hi all,

I am facing the following problem: If I do a new release of a DLL, I would like to put it on the network, so that other users can access it the next day. Sometimes the users forget to close their programs using the DLL. So they hold a lock on it and the old DLL cannot be replaced by the new one.

Now my question: How do I find out which user on which machine is holding a lock an a file on a network drive? There must be a way to figure that out on Win2k or WinNT. But I couldn't find anything about it in the MSDN or on the internet.

Does anyone have a solution or a hint for me?

Thanks a lot in advance,
Oliver

PS: The only comment from Microsoft I found was: Try again later. Dead | X| But this doesn't quite help. Right?
AnswerRe: How to enumerate processes holding a lock on my file? Pin
Mike Nordell17-Apr-02 6:09
Mike Nordell17-Apr-02 6:09 
GeneralRe: How to enumerate processes holding a lock on my file? Pin
Oliver C. Lanz17-Apr-02 9:33
Oliver C. Lanz17-Apr-02 9:33 
GeneralRe: How to enumerate processes holding a lock on my file? Pin
Mike Nordell17-Apr-02 10:01
Mike Nordell17-Apr-02 10:01 
GeneralRe: How to enumerate processes holding a lock on my file? Pin
Oliver C. Lanz17-Apr-02 21:15
Oliver C. Lanz17-Apr-02 21:15 
GeneralRe: How to enumerate processes holding a lock on my file? Pin
Mike Nordell17-Apr-02 22:01
Mike Nordell17-Apr-02 22:01 
AnswerRe: How to enumerate processes holding a lock on my file? Pin
Todd Smith18-Apr-02 8:27
Todd Smith18-Apr-02 8:27 
GeneralGetting the menu option from CMenu Pin
Lilian Chan-Grant17-Apr-02 3:28
Lilian Chan-Grant17-Apr-02 3:28 
GeneralRe: Getting the menu option from CMenu Pin
Niklas L17-Apr-02 4:17
Niklas L17-Apr-02 4:17 
GeneralRe: Getting the menu option from CMenu Pin
Roger Allen17-Apr-02 5:46
Roger Allen17-Apr-02 5:46 
GeneralRe: Getting the menu option from CMenu Pin
Lilian Chan-Grant17-Apr-02 9:53
Lilian Chan-Grant17-Apr-02 9:53 
GeneralPrinter Forms Pin
Steve Thresher17-Apr-02 2:30
Steve Thresher17-Apr-02 2:30 
Generalproblem with CTreeView Pin
Luis Reina17-Apr-02 1:57
Luis Reina17-Apr-02 1:57 
GeneralRich Edit Control and Release builds Pin
Derek Lakin17-Apr-02 1:53
Derek Lakin17-Apr-02 1:53 
GeneralRe: Rich Edit Control and Release builds Pin
-Dy17-Apr-02 2:52
-Dy17-Apr-02 2:52 
GeneralRe: Rich Edit Control and Release builds Pin
Derek Lakin17-Apr-02 3:34
Derek Lakin17-Apr-02 3:34 
GeneralRe: Rich Edit Control and Release builds Pin
Niklas L17-Apr-02 4:51
Niklas L17-Apr-02 4:51 
GeneralRe: Rich Edit Control and Release builds Pin
16-May-02 5:24
suss16-May-02 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.