Create Unmanaged DLL for Writing and Reading from Memory Mapped File with Tests

MQL5 咨询 C++

指定

Memory Mapped File Dynamic Link Library ("mmap.dll")

You are to create an Unmanaged DLL file for import into MT4. The purpose of the library will be to write to a Memory Mapped File and later read from that Memory Mapped File. Your output DLL file will have the following exported function

void CreateChannel(string fileName) # Create or Open Memory-Mapped File (MasterFile_[@fileName])

void WriteToChannel(string fileName, string data) # Write @data to @fileName

string ReadFromChannel(string fileName) # Read content of @fileName and return it as a string

void RefReadFromChannel(string fileName, string &recvString) # Read content of @fileName and pass by reference to @recvString

After creating the DLL file, you are to write a test MQL4 Expert that will read and write to and from the Memory Mapped Files created by the DLL library created.

Unmanaged DLL file best created with Visual C++

Here are some useful links

https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory

https://docs.microsoft.com/en-us/windows/win32/psapi/memory-mapped-file-information


https://gunnarpeipman.com/net-framework-4-0-using-memory-mapped-files/

https://www.red-gate.com/simple-talk/dotnet/net-development/sharing-caring-using-memory-mapped-files-net/

https://www.c-sharpcorner.com/UploadFile/b942f9/using-memory-mapped-files/



反馈

1
开发者 1
等级
(49)
项目
77
43%
仲裁
6
33% / 50%
逾期
22
29%
空闲
2
开发者 2
等级
(336)
项目
620
38%
仲裁
39
23% / 64%
逾期
93
15%
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
looking for help to get my ibkr automated, i have strategies already built in composer and have JSON for them, i really just need to he setup and explanation on how to maintain it and add new strategies
The following url shows the steps to get MT4 to communicate with a MS SQL Server Express database. I need help getting that to work as the article is not making sense to me Integrating MetaTrader 4 Client Terminal with MS SQL Server - MQL4 Articles (mql5.com)
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
I am looking for someone who has experience working with the ZigZag indicator. I want to create a multi timeframe dashboard scanner based on ZigZag. I will explain more in private messages. if you feel capable & interest with that,please pm me for more details. thanks

项目信息

预算
100+ USD
开发人员
90 USD