Groups | Blog | Home
all groups > dotnet interop > march 2007 >

dotnet interop : Equivalent of void*


Bumbala
3/2/2007 7:42:06 AM
Hello,

What is the equivalent of "void*" in managed C++ ?

Thanks.
Mattias Sjögren
3/2/2007 10:21:02 PM
[quoted text, click to view]

Depends on what you're going to use it for. Maybe System::IntPtr will
work?


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Bumbala
3/3/2007 12:20:50 AM
On Mar 2, 11:21 pm, Mattias Sj=F6gren <mattias.dont.want.s...@mvps.org>
[quoted text, click to view]

System::IntPtr actually works. It has a ToPointer() method which
converts to void *.
Do you have any idea on how I convert System::Object to
System::IntPtr ?
Thank you.
AddThis Social Bookmark Button