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 :)
Printable View
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 :)