E erupakat Aug 22, 2006 #1 C# using HANDLE=System.IntPtr Can any body suggest the corresponding code in Managed C++
C Carl Daniel [VC++ MVP] Aug 22, 2006 #2 C# using HANDLE=System.IntPtr Can any body suggest the corresponding code in Managed C++ Click to expand... 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
C# using HANDLE=System.IntPtr Can any body suggest the corresponding code in Managed C++ Click to expand... 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
C Carl Daniel [VC++ MVP] Aug 23, 2006 #4 Thanks for the reply. How can I avoid the conflit. Click to expand... 1. Don't name your typedef HANDLE. 2. Put your typedef in a namespace. -cd
Thanks for the reply. How can I avoid the conflit. Click to expand... 1. Don't name your typedef HANDLE. 2. Put your typedef in a namespace. -cd