
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
No, it's a simple text file with one line inside, not opened anywhere else.
I just want to read one line from the file as an example. But it doesn't work!
What's interesting, if I set theFILE_READ flag, the error is 5004,
and if FILE_READ|FILE_WRITE, the file opens without errors (but still no line can be read from it).
I don't understand anything...
Here's the whole code:
Try adding the FILE_COMMON flag when opening the file. It should be like this:
int hFile=FileOpen(SymbolsFileName,FILE_TXT|FILE_ANSI|FILE_READ|FILE_COMMON);
Try adding the FILE_COMMON flag when opening a file. It should be like this:
Yes, man, it worked!!!! Thanks!
But what does FILE_COMMON have to do with it? After all, FileIsExist has confirmed that the file exists.
Yeah, man, it's working!!!! Thanks!
But what doesFILE_COMMON have to do with it? Because FileIsExist confirmed that the file exists.
Because reboot thernal
There is probably an unclosed handle hanging around.
Yeah, man, it's working!!!! Thanks!
But what does FILE_COMMON have to do with it? Because FileIsExist confirmed that the file exists.
FileIsExist You checked if the file exists in the common folder of all client terminals, and tried to open it from a local folder.
Look at theFileOpen function.
Trying iAC and iAO indicators with timeframe MN1. When copied to the buffer it shows an error. Why does it not work? What is the reason? Works fine with smaller timeframes.
First, set the size of buffer[] array
Look at theFileOpen function.
Why is there a ban on opening *.reg files ?
gives out 5002
start by setting the size of the buffer[] array