I
Ioannis Vranos
Can this approach pin a ref object, in this case a System::String? (just
because C++ programmers like low level programming and not a language
that tries to protect us from ourselves).
int main()
{
using namespace System;
String ^s="Hello";
pin_ptr<unsigned char> p= *reinterpret_cast<unsigned char **>(&s);
}
because C++ programmers like low level programming and not a language
that tries to protect us from ourselves).
int main()
{
using namespace System;
String ^s="Hello";
pin_ptr<unsigned char> p= *reinterpret_cast<unsigned char **>(&s);
}