I have a .so lib that requires a char** to be passed to it.
For my benefit while working with the string I prefer working it as a char *.
So when I go to pass it I am passing &myvar. But am not getting te results I am expecting.
Would:
char *myvar;
somefunc(&myvar);
Be the same as:
char **myvar;
somefunc(myvar);
From the results I am getting they are not the same...
So what do I need to to to convert a char * to a char **?
Thanks in advance,
Mike



LinkBack URL
About LinkBacks


