1. Opened files
- Posted by daduko Jun 13, 2011
- 1202 views
Hello,
how can I find which files are currently opened in my euphoria program ?
Vlado
2. Re: Opened files
- Posted by DerekParnell (admin) Jun 13, 2011
- 1165 views
daduko said...
how can I find which files are currently opened in my euphoria program ?
I'm not sure about what you are asking for. Is it ...
- Can I write a program in Euphoria that shows what files have been opened by other processes?
- Can I find out which files my Euphoria program has opened?
In the first case, it depends on if your running under Windows or Linux. And what level of permission your program runs with. You need to access the operating system's API for handles and select out the files.
In the second case, its just a matter of recording the file name against the opened handle whenever you open a file.