R
rob
I have the following code:
int Function(short buffer __gc[]) {
....
short __pin* inPinned = & buffer[0];
DoSomethingUnsafe(inPinned)
...
}
&buffer[0] shows a valid address but when I pin it down inPinned is 0.
Why does this not work?
Thanks
int Function(short buffer __gc[]) {
....
short __pin* inPinned = & buffer[0];
DoSomethingUnsafe(inPinned)
...
}
&buffer[0] shows a valid address but when I pin it down inPinned is 0.
Why does this not work?
Thanks