FileOpen keep deleting the file New comment gizmote 2018.11.05 02:56 hi, I was wondering why my file (Test.txt) get deleted when i try to read from it using FileOpen. here is the code : int OnInit() { int h = FileOpen("Test.txt", FILE_READ|FILE_ANSI|FILE_TXT); if(h == INVALID_HANDLE) Alert(GetLastError()); else Print(FileReadString(h)); FileClose(h); return(INIT_SUCCEEDED); } Need help with SENDFTP() Dose it posible to creat any function of "mql code" posting in this forum? [MQL5] CSV files get deleted once read in strategy tester? New comment
hi, I was wondering why my file (Test.txt) get deleted when i try to read from it using FileOpen.
here is the code :