i am using a dll in my EA and my DLL listens a port. i want to use the string that is send to my port. my DLL function returns the string as LPCSTR. when i try to show the value with MessageBox function in MQL i just get a number. is there an encoding problem?
- Create your own MetaTrader extension (dll)
- threading with mql4
- MT4 String -> DLL -> MT4 String
kayzser:
i am using a dll in my EA and my DLL listens a port. i want to use the string that is send to my port. my DLL function returns the string as LPCSTR. when i try to show the value with MessageBox function in MQL i just get a number. is there an encoding problem?
Sorry. i just return char * instead of LPCSTR and problem solved.
i am using a dll in my EA and my DLL listens a port. i want to use the string that is send to my port. my DLL function returns the string as LPCSTR. when i try to show the value with MessageBox function in MQL i just get a number. is there an encoding problem?

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