I
Ioannis Vranos
Consider the code:
wchar_t __pin *p= &(someCommand->ToCharArray())[0];
_wsystem(p);
p=0;
I need to pin the wchar_t __gc [] because I need to pass it to
_wsystem() which takes a wchar_t *.
Does the above code pin the whole wchar_t __gc[]?
wchar_t __pin *p= &(someCommand->ToCharArray())[0];
_wsystem(p);
p=0;
I need to pin the wchar_t __gc [] because I need to pass it to
_wsystem() which takes a wchar_t *.
Does the above code pin the whole wchar_t __gc[]?