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
i have a DLL which can make use of callback functions. This custom function is called from
DLL on specific events. The callback function must be of stdcall and is of type void.
->
static void stdcall CallBackF(string var,double var2,int var3).
The DLL function to hook a cb is then called like this:
HookMyFunction((int) CallBackF); // only for 32 bit processes (int) CallBackF points entry of callback
Now i need to know, if MetaTrader at all can provide such a callback function
and how to declare it that it is static and how get its pointer ?
thank you