Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: check file opened or not? Pin
George_George3-Apr-08 4:04
George_George3-Apr-08 4:04 
GeneralRe: check file opened or not? [modified] Pin
JudyL_MD3-Apr-08 5:28
JudyL_MD3-Apr-08 5:28 
GeneralRe: check file opened or not? Pin
George_George3-Apr-08 21:18
George_George3-Apr-08 21:18 
GeneralRe: check file opened or not? Pin
JudyL_MD4-Apr-08 1:56
JudyL_MD4-Apr-08 1:56 
GeneralRe: check file opened or not? Pin
George_George4-Apr-08 2:19
George_George4-Apr-08 2:19 
GeneralRe: check file opened or not? Pin
JudyL_MD4-Apr-08 2:23
JudyL_MD4-Apr-08 2:23 
GeneralRe: check file opened or not? Pin
George_George4-Apr-08 2:44
George_George4-Apr-08 2:44 
AnswerRe: check file opened or not? Pin
led mike2-Apr-08 4:28
led mike2-Apr-08 4:28 
George_George wrote:
which API could be used to check whether a file is opened


Depends on your definition of "file is opened". An application can be displaying the contents of a file and even allowing the user to edit the contents without having an active file handle to the disk file used to persist the data. In that case there is no API that's going to tell you that, period.


led mike

GeneralRe: check file opened or not? Pin
George_George2-Apr-08 20:37
George_George2-Apr-08 20:37 
AnswerRe: check file opened or not? Pin
basementman2-Apr-08 4:55
basementman2-Apr-08 4:55 
GeneralRe: check file opened or not? Pin
George_George2-Apr-08 20:38
George_George2-Apr-08 20:38 
AnswerRe: check file opened or not? Pin
Hamid_RT7-Apr-08 4:07
Hamid_RT7-Apr-08 4:07 
GeneralRe: check file opened or not? Pin
George_George7-Apr-08 4:10
George_George7-Apr-08 4:10 
GeneralRe: check file opened or not? Pin
Hamid_RT7-Apr-08 4:29
Hamid_RT7-Apr-08 4:29 
GeneralRe: check file opened or not? Pin
George_George7-Apr-08 4:38
George_George7-Apr-08 4:38 
GeneralRe: check file opened or not? Pin
Hamid_RT7-Apr-08 5:07
Hamid_RT7-Apr-08 5:07 
GeneralWrong DLL output Pin
parth.p2-Apr-08 3:15
parth.p2-Apr-08 3:15 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:18
Cedric Moonen2-Apr-08 3:18 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:22
parth.p2-Apr-08 3:22 
GeneralRe: Wrong DLL output Pin
Chris Losinger2-Apr-08 3:27
professionalChris Losinger2-Apr-08 3:27 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:29
Cedric Moonen2-Apr-08 3:29 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:42
parth.p2-Apr-08 3:42 
GeneralRe: Wrong DLL output Pin
David Crow2-Apr-08 3:33
David Crow2-Apr-08 3:33 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:37
Cedric Moonen2-Apr-08 3:37 
QuestionRe: Wrong DLL output Pin
David Crow2-Apr-08 3:23
David Crow2-Apr-08 3:23 

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.