int* pi = new int;
int^ hi = gcnew int;

Example 6: C++/CLI handles.

Back to Article