T
Ted Sung
Hi,
I'm using P/Invoke to call some C functions from a DLL.
My C function returns a pointer to a large C structure. I store this
returned pointer in an IntPtr C# variable. I would now like
to access the data in this structure.
What is the best way to do this? The structure is so large that I can't
lay it out as a C# struct. What else could I do?
Thanks,
Ted
I'm using P/Invoke to call some C functions from a DLL.
My C function returns a pointer to a large C structure. I store this
returned pointer in an IntPtr C# variable. I would now like
to access the data in this structure.
What is the best way to do this? The structure is so large that I can't
lay it out as a C# struct. What else could I do?
Thanks,
Ted