Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / How to pass an image back from a dll?

Author
Message
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 15th Mar 2006 23:45
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.

Login to post a reply

Server time is: 2024-11-21 23:31:06
Your offset time is: 2024-11-21 23:31:06