Int* into IntPtr?
C#
3
Posts
3
Posters
0
Views
1
Watching
-
Hi! I wanna wrap one c/c++ library into a COM dll to use in c# or vb. In Atl, "int*" will interept as "ref int" in c#. But i wanna it be IntPtr because I try to connect it with Bitmap's Scan0(which is a IntPtr). Any idea or suggestion?
-
Hi! I wanna wrap one c/c++ library into a COM dll to use in c# or vb. In Atl, "int*" will interept as "ref int" in c#. But i wanna it be IntPtr because I try to connect it with Bitmap's Scan0(which is a IntPtr). Any idea or suggestion?