IntPtr and Handle

  • Thread starter Thread starter erupakat
  • Start date Start date
E

erupakat

C#
using HANDLE=System.IntPtr

Can any body suggest the corresponding code in Managed C++
 
C#
using HANDLE=System.IntPtr

Can any body suggest the corresponding code in Managed C++

typedef System::IntPtr HANDLE;

.... but watch out. HANDLE is already defined by the windows header files,
so if you #include windows headers, you're going to have a conflict.

-cd
 
Back
Top