Thanks, your answers are always very helpful. I replaced "A" with "W" in your function and the import statement and it works for me.
Is there any way to get output back from the opened file? E.g. the zipped folder attached ("hw.zip") contains a .exe file which prints "Hello World!" to screen. Is there a way to return this output to MQL4? A workaround would be to get the .exe to write to a file and then read from that file but that would be less direct.
I note that there is a related thread which may be useful: https://www.mql5.com/en/forum/137456#comment_22420351
However I have not been able to make the example given there work.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thanks, your answers are always very helpful. I replaced "A" with "W" in your function and the import statement and it works for me.
Is there any way to get output back from the opened file? E.g. the zipped folder attached ("hw.zip") contains a .exe file which prints "Hello World!" to screen. Is there a way to return this output to MQL4? A workaround would be to get the .exe to write to a file and then read from that file but that would be less direct.
I note that there is a related thread which may be useful: https://www.mql5.com/en/forum/137456#comment_22420351
However I have not been able to make the example given there work.