[Gambas-user] Read array of string return from external libraries function

Phạm Quang Dương soleilpqd at ...626...
Tue Mar 29 21:36:31 CEST 2011


Hi,

I have an EXTERN function which returns an array of strings (char**). How to
get this array?

I just can only get the first string:
EXTERN theFunction(params AS ...) As Pointer
.....
Dim p as Pointer, s as String

p = theFunction(...)
s = String@(Pointer@(p))

What to do next?
Thank you.



More information about the User mailing list