Can anyone help. I have a series of multi page tiff images. I have a control that will allow me to select the page I want, either by reading it from the file, or by 'A global handle (HGLOBAL) to a memory buffer containing the image file data in memory', which they also refer to as, 'a locked global handle to the image data stored in memory is available'

I've tracked all that down as GlobalAlloc, GlobalLock and GlobalFree in the API. But how do I put it all together?

My brain has given up. Please help me.