Thats right, Ive passed pointer-to-a-pointer's that way without issue before.
Can you post the code that calls the 'test' function. And the code that builds the data too. So I can see the logic behind why you need to call it as a pointer-to-a-pointer. In case theres a bug in that somewhere...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial