I'm playing around with the ImgSource dll and ran into a "C"
snag concerning pointers.
C Code:
// To get a pointer to the data, cast the HGLOBAL hImg to a BYTE*
BYTE *pRGB = (BYTE *) hImg;
It appears to be defining pRGB as a BYTE pointer, but whats going
on with the casting? Any help would be appreciated.
Yeah, I'm in over my head, but its fun!
Jim Warrick
------------------
snag concerning pointers.
C Code:
// To get a pointer to the data, cast the HGLOBAL hImg to a BYTE*
BYTE *pRGB = (BYTE *) hImg;
It appears to be defining pRGB as a BYTE pointer, but whats going
on with the casting? Any help would be appreciated.
Yeah, I'm in over my head, but its fun!
Jim Warrick
------------------
Comment