How to marshal to a pointer to a pointer

  • Thread starter Thread starter Johann Blake
  • Start date Start date
J

Johann Blake

I need to pass a pointer to pointer in a C++ method that has a float**
parameter. How do I do this?

Thanks for your help
Johann
 
I need to pass a pointer to pointer in a C++ method that has a float**
parameter. How do I do this?

It depends if it's an input or output parameter, who allocates the
memory and so on. Using a single IntPtr or an IntPtr[] may work.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top