hi,
i need 2 get the paths of all the opened files on a givan moment. 4 example, if there's a file called "ayesha.doc" is opened on the desktop, i need 2 get the file path of that file. what's the standered way 2 do this in C++ please?
thanx a lot.
hi,
i need 2 get the paths of all the opened files on a givan moment. 4 example, if there's a file called "ayesha.doc" is opened on the desktop, i need 2 get the file path of that file. what's the standered way 2 do this in C++ please?
thanx a lot.
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
Are you talking about arbitrary files or files your process owns?
Kuphryn
thanx for replying.
not the files my process owns, but the files opened with other processes. (i need to get their paths, and get handles to the windows own by them)
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
http://www.sysinternals.com/Processe...Utilities.html
Handle v3.1
This handy command-line utility will show you what files are open by which processes, and much more.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
thanx, but that's just a peice of software. it displays all the processes and the files they have opened, but there's no sourcecode to see how it's done. i need to write my own code for my own program. so... i still need help please.
Last edited by geek@02; 09-18-2005 at 04:13 AM.
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
Check out MSDN.
http://msdn.microsoft.com/library/de..._reference.asp
Check out my website for software development links.
http://www.dslextreme.com/users/kuphryn/links.html
Kuphryn