Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > check file opened or not?

Reply
Thread Tools

check file opened or not?

 
 
George2 George2 is offline
Senior Member
Join Date: Feb 2008
Posts: 108
 
      04-02-2008
Hello everyone,


On Windows platform, which API could be used to check whether a file is opened (either by other thread or process or even the same thread) or not?

C++ is fine.


thanks in advance,
George
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
listdir reports [Error 1006] The volume for a file has been externally altered so that the opened file is no longer valid PerOK Python 2 01-08-2009 07:58 AM
How to check whether a file is being opened by other programs in Perlscript? Kuhl Perl Misc 6 11-13-2008 06:57 PM
Streaming file to user: 'File could not be opened' CJM ASP General 7 03-30-2006 10:38 AM
Accidentaly opened I-Bagle - and then opened virus vault ?? Morph Computer Information 2 02-01-2005 03:43 AM
how to check if URL cannot be opened john Python 2 10-27-2004 07:09 PM



Advertisments