How to cause OnTick called from a DLL?

 
I download FX Blue QuickChannel library, seems it can make OnTick called whenever a new message is sent, from a DLL (indeed from another process).
in QuickChannel pdf document, it says,
=============
Once an EA/script has called QC_StartReceiver(), it receives a tick whenever a new message is available on the channel it has opened. In other words, its OnTick() function is run as soon as a new message is available, regardless of whether there has actually been a new tick from the broker for the symbol on whose chart the EA/script is running.
=============
I'm quite interested in how to do that because I need to cause OnTick called from my DLL too.
I guess some mystery Windows message sent to MT4? If so, what's the message ID and any parameters?

In brief, I want to call OnTick from a DLL or even another process, in non-MQL language such as C++.


Thanks

 
wqking:

In brief, I want to call OnTick from a DLL or even another process, in non-MQL language such as C++.

https://www.mql5.com/en/forum/143895

https://www.mql5.com/en/forum/145432 

https://forum.mql4.com/62761/page2#954650

 ... and many, many others

 
jjc:

https://www.mql5.com/en/forum/143895

https://www.mql5.com/en/forum/145432 

https://forum.mql4.com/62761/page2#954650

 ... and many, many others


Thanks. I didn't realize this topic was discussed so many times.
 
wqking:

Thanks. I didn't realize this topic was discussed so many times.
I'd forgotten that I posted about this myself more than 6 years ago: https://www.mql5.com/en/forum/118700. And that won't be the earliest mention.
 
jjc:
I'd forgotten that I posted about this myself more than 6 years ago: https://www.mql5.com/en/forum/118700. And that won't be the earliest mention.


Is there any document about the mystery MetaTrader4_Internal_Message?

Also I noticed the lParam in https://forum.mql4.com/62761/page2#954650 is 1 and is 0 in your https://www.mql5.com/en/forum/118700

What's the difference?


Thanks

 
wqking:

Is there any document about the mystery MetaTrader4_Internal_Message?

MetaTrader4_Internal_Message is undocumented. All the information about it on this forum is the result of people experimenting through trial and error. I'm not aware of any difference caused by different lParam values, though there might be a subtle one.
Reason: