
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
Ok, if my problem when I change to mode W unicode is to connect the pipe in side MT4, so I thing that the string \\\\.\\pipe\\mypipe no more a simple string but contain the null values like de FMIC said. So is why I cant connect in my vb.net side because when I use the same string \\\\.\\pipe\\mypipe is not found and I receive the error 2.
I try to connect convert the string with the StringToCharArray but the pipe connect got error.
Make sense? Thanks
I use this line code to show me all the pipes opened.
Dim listOfPipes As [String]() = System.IO.Directory.GetFiles("\\.\pipe\")
and my pipe is there. So mt4 with unicode mode "W" are creating the pipe and waiting for connections. If I can create in the same mt4 side a pipe client I can test...
I dont know what to do...
I open a post in msdn forum because I thing that the problem is in my vb.net side.
http://social.msdn.microsoft.com/Forums/en-US/409d4a2d-0a88-4094-9f0c-403798a2ce3d/pipe-unicode-mode-not-connecting-like-ansi-mode?forum=vbgeneral
I can create the pipe with my mt4 code but I can connect or call for them.
When I use ansi mode in my vb.net program, I can to connect the pipe but I receive only the first letter. So I change to unicode mode and know I cant connect...I receive the error 2.
So I thing that my ptoblem is now with my vb.net code and not mode my mql4.
Thanks for all helpers...
If someone still has problems managing named pipes in MT4 v600, this is the way I solved it:
Server:
Client:
Thank you Oscarin for your summary.
If someone still has problems managing named pipes in MT4 v600, this is the way I solved it:
Server:
Client:
In what code have you performed the indicated changes?
Does anybody know this?
I'm eager to start working with named pips in MT4 600+ though I haven't been able to find a working solution yet. Any help much appreciated!