Hello
I could read / write / delete a file but can know if a file is already opened?
I could validate a fiole path etc.
I did look in the ElCollection, but I don't any reference "Is Open"
Martin
Can we test if a file is opened?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Can we test if a file is opened?
Hello Martin,
File operations can be done using an external Dll. There is no prebuilt command in MultiCharts to do that.
You need to search for solution online, depending on the programming language your Dll is written in.
Here's a C++ discussion:
https://stackoverflow.com/questions/625 ... h-ifstream
Main idea - if the file is open by someone who writes there, the other app will not be able to open the file and do anything with it.
File operations can be done using an external Dll. There is no prebuilt command in MultiCharts to do that.
You need to search for solution online, depending on the programming language your Dll is written in.
Here's a C++ discussion:
https://stackoverflow.com/questions/625 ... h-ifstream
Main idea - if the file is open by someone who writes there, the other app will not be able to open the file and do anything with it.