I tried the code, and MQL doesn't recognize GenericMagik().
Write to sharedmemory from multe DLL attached multi MT, and read to moniter exe program.
In NewDeal(....)
before write, check
if((index = FindDeal(-1, -1, -1)) == -1)
{
MessageBox(NULL, "xxxxxxxxxxxxxxxxx?DLL", MB_OK);
ReleaseMutex(hSem);//
return true;
}
If last one some DLLwrited is not readed out, then no -1,-1,-1 item, then no write this newDeal, so this newDeal write faile FALSE, but also return true.
Then
How to sure multe DLL writing succeed ?

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
New article Automated Choice of Brokerage Company for an Efficient Operation of Expert Advisors has been published:
Author: Shashev Sergei