Marco Strazzeri:
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

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
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