Hi,
I am trying to convert some unmanaged code (C++) to managed code
(using C++/CLI).
1) One of the functions used returns a void* which I need to cast into
a handle of a managed object. Can somebody please tell me how.
Actually, the function that returns a void* is a part of a MFC class -
CPtrList, used in my unmanaged code. I was searching of its equivalent
in .NET, but couldn't find it. Is there any equivalent?
2) Also, is there any equivalent of double pointers **, in .NET
handles?
Thanks in advance,
Vijay.
I am trying to convert some unmanaged code (C++) to managed code
(using C++/CLI).
1) One of the functions used returns a void* which I need to cast into
a handle of a managed object. Can somebody please tell me how.
Actually, the function that returns a void* is a part of a MFC class -
CPtrList, used in my unmanaged code. I was searching of its equivalent
in .NET, but couldn't find it. Is there any equivalent?
2) Also, is there any equivalent of double pointers **, in .NET
handles?
Thanks in advance,
Vijay.
Comment