If all you need is a byte pointer to the data for drawing purposes, then replaceI have PVOID data only. But I like to draw real time image using byte array.
withCode:PVOID pvData = (PVOID)data; byte *bPoint = (byte*) pvData; byte TempArr[1024]; byte *bTo = TempArr; memcpy(bTo, bPoint, 1024);
and then just draw from TempArr as currently.Code:byte *TempArr = (byte*)data;




Reply With Quote