Managed Pointers On Heap (!)
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
Hi folks, I'm new to Managed C++. I would like to know how can I implement a function like this:
CWhateverClass **GetPointer()
{
//how can I allocate memory on heap (for my local variable of type CWhateverClass),
//so that it won't go away when the
//local variable is out of scope.
}Any help would be highly appreciated, Mehdi Mousavi - Software Architect [ http://mehdi.biz ]