It doesn't work any more in 600
You have to use the W (Unicode) version of the function as below
Code: Select all
#import "kernel32.dll"
void OutputDebugStringW(string msg);
#importCode: Select all
#import "kernel32.dll"
void OutputDebugStringW(string msg);
#importHi friends,PIPone » Sat Feb 08, 2014 12:39 am wrote:ahah , Build 600 the darkness of evil.....
" One Market to rule them all, One Market to find them,
One Market to bring them all and in the darkness bind them,
In the Land of Meta Quotes where the Shadows lie. "
The Lord of MetaQuotes
Code: Select all
StringSubstrReally, how long can an old build run for? Is it not dependent on the continued support of the broker, or can it simply be kept indefinitely alive by not upgrading?jlcgarcia » Sat Feb 08, 2014 11:28 am wrote: Hi friends,
With the new Empty4 600 many things have changed....
As I cannot cope with so many changes in the code, the best solution (I think) for the new Empty4 600 is the following (that I am using) :
By clicking the link below you can find the attached archive with build 509 of MQ4. The Metaeditor executable file is itself enclosed.
1. Unzip the archive into the folder you like.
2. Find Metaeditor.exe and run it by double clicking.
3. Go to menu File -> Open (as soon as Metaeditor starts working).
4. Find the MQ4 (of EAs or indicators ) file you want to compile in order to use it in the new build 600. Click the Compile button to compile the MQ4 file.
5. Find the EX4 executable file in the same folder, where the MQ4 file is placed at.
6. Copy this EX4 file in to the MQ4 /experts or indicators folder of build 600. Run the new build.
Regards
José Luis