Open file outside MT4 while EA Writing on it
Is it possible to have access to a txt file while an EA is writing on it ( for example opening it with Notepad )?
Actually i'm using the FILE_WRITE flag in FileOpen function. Tried with "FILE_WHARE_WRITE" but returns 5008 error constantly
hi,
well, you have to put the following: FILE_READ|FILE_WRITE|FILE_SHARE_WRITE
Edit: sorry, it should be
FILE_READ|FILE_SHARE_READ|FILE_WRITE|FILE_SHARE_WRITE
Is it possible to have access to a txt file while an EA is writing on it ( for example opening it with Notepad )?
Actually i'm using the FILE_WRITE flag in FileOpen function. Tried with "FILE_WHARE_WRITE" but returns 5008 error constantly