Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Problem Description : Currently from OnTick() i am calling a DLL function . DLL code is written in CPP.
In DLL i want to write a function that wait for a event(in my case it is massage from
other DLL) and then return to ONTick. but in mql it is restriction that it must return in one sec.
so to solve that process i want to start a process that runs infinitely and whenever DLL receive
massage then we update a variable , and depending upon variable value we return either massage
or NULL to OnTick() for each call. But not able to find how and in which function(where) to start my process.
any hint and idea will be highly appreciated.
thanks
umang