Passing array of strings in/out of extern C
223563Feb 11 2005 — edited Feb 24 2005Hi:
(I hope this is the right conference for this question)
I'm trying to pass an array of strings in/out of an external C program. I was successful in passing simple data types (BINARY_INTEGER, NUMBER, VARCH) but hit a wall when trying to get this to work with an array of strings.
Should I be passing...
"table of varchar2()" ?
"varray of varchar2()" ?
"varray of char()" ?
other ?
What should I expect to see on the 'C' end? How should I declare the argument? As a (char *)? Is the array of strings in some sort of descriptor? Is there any documentatiopn on the descriptor?
I'm sort of lost on this one. If there's a simple example on how to do this, that'd be great.
Thanks