I have a problem when I try to map char* to String, Pointer or ByteBuff.
We had declared a function in C, show as below
long A_Connect(OUT char* x);
In fact the variable x will get a value after we execute this function.
but when I try to get the value from JAVA, it just get a null string, I had try different java function like:
NativeLong A_Connect(String x);
NativeLong A_Connect(Pointer x);
NativeLong A_Connect(byte[] x);
I will appreciate it if anyone can help us with this problem.enter code here