A
Arsa
Hi,
I am using dllimport to invoke a function that takes a (byte*) as parameter:
void GetBuffer(byte* outBuff).
When I create a pointer in c# using fixed statement there is no problem
passing it as parameter, it works well. But when I create a pointer to a
stack memory using "stackalloc" statement I get a "NotSupportedException".
Anyone knows the reason?
Arsa
I am using dllimport to invoke a function that takes a (byte*) as parameter:
void GetBuffer(byte* outBuff).
When I create a pointer in c# using fixed statement there is no problem
passing it as parameter, it works well. But when I create a pointer to a
stack memory using "stackalloc" statement I get a "NotSupportedException".
Anyone knows the reason?
Arsa