in C dll:
void foo(unsignedshort** buff)
{
*buff = &StaticArray[0];
}
in C# interop:
[dllimport : ...]
<May I know the method signature here ? >
I want to make use of the memory allocated in unmanaged.
Thanks
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 1 of 1
Thread: interop question
Tags for this Thread |
Click Here to Expand Forum to Full Width |