Link to home
Start Free TrialLog in
Avatar of libbysharf
libbysharf

asked on

bmapHdr and bmapData to pdib : PChar

Hello,

I have the following dll function:

Function vimg_createhandle_dib_shell ( pdib       : PChar;
                                       retval     : PInteger ) : VIMG_HNDL; stdcall;

which means that I have to provide a pointer to a dib.

I know how to get the bmapHdr and  bmapData out of a TBitmap. But how can I use them in this function?

Or how can I get the pDIB from a TBitmap?

Thanks, Libby
ASKER CERTIFIED SOLUTION
Avatar of Cynna
Cynna

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

libbysharf:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.