> 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.

s = String@(Pointer@(p + SizeOf(gb.Pointer))
s = String@(Pointer@(p + SizeOf(gb.Pointer) * 2)
s = String@(Pointer@(p + SizeOf(gb.Pointer) * 3)
...

-- 
Benoît Minisini

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to