How to send string from DLL to my EA?
no, only char
#import "con.dll" int ConnectToServer(char &a0[]); #import extern string ip_address = "123.46.4"; ... char a[]; StringToCharArray(ip_address,a); ConnectToServer(a);
no, only char
#import "con.dll" int ConnectToServer(char &a0[]); #import extern string ip_address = "123.46.4"; ... char a[]; StringToCharArray(ip_address,a); ConnectToServer(a);
You agree to website policy and terms of use
Hello, I would like to print some information received form an external library.
The best thing I have gotten working so far is passing an array of chars as a parameter and modifying each position individually.
Is there a simpler solution? Like returning a string from the DLL or modifying a string passed as a parameter? (I have tried both with no luck so far).
Thank you.