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.