Hi Developers. i am going to wrap lib(static library ) file in c++. one function return HGLOBAL DIB. how can i access Byte Array or Bitmap Image from this and pass this Byte Array or bitmap to My C# Project. please help me. thanks in advance. Here is function that return HGLOBAL DIB Type.
HGLOBAL m_hDib;
int retval = XRaySensorIsImageAvailable();
if ( 0 < retval )
{
if (m\_hDib ) ::GlobalFree(m\_hDib);
m\_hDib = XRaySensorGetDIB();
}