Grzegorz Korycki:
i cannot seem to get it right. I write without problems to allowed //files folder, but i cannot create any file in common data folder. Code goes like this:
i get ERROR 5002 (too long file name) error all the time both in MT5 and MT4. How do I do it right?
You don't need to add the path to the file name.
int filehandle=FileOpen(filename,FILE_WRITE|FILE_BIN|FILE_COMMON);
Alain Verleyen:
Thank You! I was getting frustrated.
You don't need to add the path to the file name.
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
i cannot seem to get it right. I write without problems to allowed //files folder, but i cannot create any file in common data folder. Code goes like this:
i get ERROR 5002 (too long file name) error all the time both in MT5 and MT4. How do I do it right?