How to right call CreateFileMappingA for share memory on MT5?
Forum on trading, automated trading systems and testing trading strategies
Hello,
Please EDIT your post and use the SRC button when you post code.
How to right call CreateFileMappingA on MT5?
Use CreateFileMappingW , MT5 is using Unicode.
xdop: |
|
first topic on the forum,
i have edited it,
thanks two guys.
i want to build communication between two MT5 via share memory,
i try to call windows API, but i faced GetLastError() =6 error, invalid handle
a part code as follow:
run result:
mt5_write_hMapFile=0,
GetLastError() =6, invalid handle.
who can help me?
How to right call CreateFileMappingA on MT5?