Can someone please point me in the right direction for passing an image back from a dll?
Before I re-invent the wheel, here are my thoughts:
I'm guessing I might need to use golbstruct to copy the bitmap into the current-bitmap used by DB-pro(?).
Or can I return a pointer to the image and then build it with a memblock?
If so, do I need to build the DIB into a full bmp image in my dll, or simply point to the DIB?
Or, has someone got some example code to do this as it would save me some hassle?
I've noticed a severe lack of example code for DLLs, or am I looking in the wrong place?
Thanks.