
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
No you can't - the library operates in a different area of RAM.
It is still possible, but with the author's level of knowledge it would be unaffordable for him.
I wonder how to do this in MKL (at least the gist)?
The EA calls the Symbol(HWND) function from the DLL. The DLL activates the window. It becomes the top of the Z-sequence.
Read the header and highlight the tool name. Then 2 options to return it.
1. Fills the input buffer.
2. Return a pointer to the global buffer.
The EA calls the Symbol(hwnd) function from the DLL. The DLL activates the window. It becomes the top of the Z-sequence.
Read the header and highlight the tool name. Then 2 options to return it.
1. Fill the input buffer.
2. Return pointer to global buffer.
Thank you. I understand the question differently: how to pass a pointer to the Symbol() function in the dll?
Thank you. My question was worded differently: "How to pass a pointer to Symbol() function in dll?".
You probably can't do that. MQL4 address space is virtual.
You could get a candelabra from Renate for that. ;)
+5!!!!! :)
You could get a candelabra from Renate for that. ;)
The EA calls the Symbol(HWND) function from the DLL. The DLL activates the window. It becomes the top of the Z-sequence.
We read the header and select the symbol name. Then there are 2 options to return it.
1. Fills the input buffer.
2. Returns a pointer to the global buffer.
You don't have to activate it. The descriptor is already there. Overkill.
You need to activate it when there is no connection between the library and MQL4. To get the same descriptor.
I.e. the function in DLL is _Symbol(). It must be activated in MQL4 code before calling _Symbol(). Unreliable variant.