Discussion of article "A DLL-free solution to communicate between MetaTrader 5 terminals using Named Pipes" - page 2
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
See http://forum.mql4.com/33307
When I´m trying to create the NamePipe in an Expert (in function OnInit() or OnTick()), I get an "Access Violation Error". After debugging they said me, the error is in the function CreateNamedPipeW
If I create the NamePipe in a script, that works correctly.
What is the problem?
Hello,
Thanks for your article. I did a similar work on my own EAs. I started to publish post on my blog :http://expertadvisor-blog.com/mirror-ea/
very very good .
thank you .
I also faced access violation errors when calling the methods writeTick, readTick... and so on. Find the fixed CNamedPipes file attached.
I also added the WriteDouble Method to the CNamedPipe Class:
Side Note: To read/write on Client Side (e.g from another Metatrader Terminal ), I just used the standard MQL5 FilePipe Library. Examples how to use them can be downloaded here:
https://www.mql5.com/en/articles/503