MetaQuotes has implemented something so that only authorized url can be communicated by ea.
thank you for your reply, but where can I find the explanation about this rule , because of political reason I can't use google in recent days in china.
MetaQuotes has implemented something so that only authorized url can be communicated by ea.
Don't think so. The Hello() function is returning Ansi text (char*) when it needs to be returning Unicode. It looks as though king63499 has just upgraded to build 646 from build <= 509. In other words, it's another of the same questions which was asked 100000 times back in February when build 600 was released.
(And my understanding is that the "authorized URL" only applies if you use the new built-in WebRequest. It doesn't apply if you continue to use any of the old DLL-based method for reading URLs. The point of WebRequest is that you can now write EAs and indicators which read data from the web still satisfying the no-DLLs rule for listing in the Market.)
thank you for your reply, but where can I find the explanation about this rule , because of political reason I can't use google in recent days in china.
The issue is that on MT4 build >= 600 you cannot return Ansi text (char*) from a DLL. You need to modify your code to return Unicode text - or you need to do some relatively complex manipulation on the Ansi text in order to make it usable.
For example, see https://www.mql5.com/en/forum/149412
The issue is that on MT4 build >= 600 you cannot return Ansi text (char*) from a DLL. You need to modify your code to return Unicode text - or you need to do some relatively complex manipulation on the Ansi text in order to make it usable.
For example, see https://www.mql5.com/en/forum/149412
Hey gchrmt4
I have resolved the problem according to your explanation. the dll is working again. Very very thank you for your help!!
best wishes to you!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use