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
1) only the server has the right to modify the memory. clients read it.
2)- look at Pipe. there the "events" of data arrival are implemented as self-explanatory - you have data, we take it, we wait for it.
3)yes, you will have to write a server or copy it from MSDN, but ready-made clients can be used directly in MQL5.
4) unfortunately, you can't solve this problem with the polling periodicity. Sleep(1) should not make noise even when working with memory. You should check the timing of functions, maybe there are extra passes and load somewhere.
1 - only a server (written by me from your work)
2 - interesting, I will look only I have a task "as timely as possible" to transfer data 4(8) bytes, i.e. the whole cycle (must be performed very often)
3 - I think by analogy with the article I will make my own, but so far the problem even the test example does not work.
4 - yes, I rewrote some things optimised the code, it seems to be better.
I tried to add your dll to mt4.
Here is the codeturn the screwdriver right
turn the screwdriver correctly
Your example in the link uses MemMap.dll
It is not there, it is MEmMap32.dll.
It works in mt5, but in mt4 it doesn't find the file.
Initially incorrectly declared err should have been an array, thanks for that
The x64 version of terminal mt5 is automatically installed on the server.
I have Win7x64 on my laptop, but I have a regular 32-bit version of terminal and it does not try to update to x64 itself.