winsock encoding

 
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?
 
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.
Reason: