Sanjiv Desai / Publications
Forum
Problem with FileOpen
I am trying to open .txt file for read and write access to log some information. Following is the code snippet. int OnInit() { string fileHandle = FileOpen("test.txt", FILE_CSV | FILE_READ | FILE_WRITE, "+"); if (fileHandle < 0) { Message("Can't open test.txt in MQL4\\files folder for