CTHANDLE m_handle
Remember that CTHANDLE and CTDBRET are unknown types in .NET. To use the CTHANDLE keyword you must include one of the following lines at the top of your application:
C#:
using CTHANDLE = System.IntPtr;
using CTDBRET = System.Int32;
Visual Basic:
Imports CTHANDLE = System.IntPtr
Imports CTDBRET = System.Int32