Boogie:
I get a problem with kernel32.dll that indicator was working im MT4 <600 and now it is not. Why? What do I have to change to make it working again?
You can't use WinExec because (a) MQL4 now uses Unicode strings, and (b) there is no Unicode version of WinExec because it is a legacy function from 16-bit Windows (i.e. from the early 1990s).
You need to use something like ShellExecuteW instead, e.g. https://www.mql5.com/en/forum/149820
Thanks.
But how to force GetRight to download that file
WinExec("C:\Program Files\GetRight\GetRight.exe"+" /URL:"+"http://www.dailyfx.com/files/Calendar-02-23-2014.csv"+" /FILE:Calendar-02-23-2014.csv /W /O",0);
Boogie: But how to force GetRight to download that file
- What part of "You can't use WinExec because ... there is no Unicode version of WinExec " was unclear?
What part of "You need to use something like ShellExecuteW instead" was unclear?
This is invalid. "C:\Program Files\GetRight\GetRight.exe"
Backslash is the quote character "C:\\Program Files\\GetRight\\GetRight.exe"
Boogie:
Thanks.
But how to force GetRight to download that file
what part "use something like ShellExecuteW instead" u dont understand ?

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
Hello!
I get a problem with kernel32.dll that indicator was working im MT4 <600 and now it is not. Why? What do I have to change to make it working again?
<Please use the SRC button to insert code>
Thank you for your help.
Boogie