I am having problems with the ISE3DuotoneImage function. I keep getting a GPF with the following code:
I am still new to the IS3Effects Dll - what am I doing wrong?
'Create a memory buffer to hold the image
tmpRGB = GlobalAlloc(0, uWidth * uHeight * 3)
'Copy the image to tmpRGB
IS3DCToRGB picTemp.hDC, 0, 0, uWidth, uHeight, tmpRGB
'Perform DuoTone transform
ISE3DuotoneImage tmpRGB, uWidth, uHeight, 3, uWidth * uHeight * 3, Color, 0
Thanks for your help! Thanks for your patience!