Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get opened files in wr mode by windows

Status
Not open for further replies.

Raywall

Programmer
Oct 1, 2003
51
RO
I would like to get path,name and altough handle to those files.
And is there any metod to now when the list of the opened files has changed(a handle to a file was closed or opened)?
Thanks
 
These are very implementation-specific, so could you specify what operating system and environment you're working in? Since you're posting in the generic "C language" forum, and this isn't a C language question, there's not enough context to find an answer to your question.

I can tell you that in Windows you can't really tell the path/name of a file through a handle, simply because a handle isn't necessarily a file. It could be a communications device, pipe, event, semaphore, or other non-file entity.
 
"communications device, pipe, event, semaphore" says everything.I'll look forward in this direction.
Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top