how to rewrite a standard C++ code in C++/CLI

Hello,

How is it possible to rewrite a code with standard C++ pointers to C++/CLI.
I have a tree structure composed of standard c++ objects in which the
objects of the tree are linked to each other with pointers. I have another
software component to restructure the tree. I want to rewrite this component
to restructure the tree in C++/CLI. As pointers there are ^Handle, interior
pointer and pinned pointer in C++/CLI. I read that it is not possible to do
pointer arithmetic with ^Handle. Interiorpointer and pinned pointer have a
local scope, although they can do pointer arithmetic.

My question is how to generally rewrite a code with C++ pointer in C++/CLI
It is possible to convert the C++ classes to C++/CLI just add a ref or value
before the class. Standard library parts like vectors or maps can be also
rewritten with .NET collection classes easily I think. But i can not imagine
how to deal with pointers. Please give me a starting point.
Thank you in advance.
Gerd
Topic archived. No new replies allowed.