Click here to Skip to main content
16,012,173 members

Comments by PAJP (Top 1 by date)

PAJP 3-Sep-11 14:32pm View    
I still have issues with this..

The call requires a pointer to the Dib

<pre>extern int WINAPI PassBuffer(void *lpDib);</pre>

not a pointer to an array of bytes which is essentially the same thing but apparently in the code its not..

I suspect its a Win16 dll Im calling though all the other functions work fine but what it is seeing has to be spot on or it rejects it so any ideas etc would be appreciated.

I believe what i need to achieve is the same as in C where you would get a pointer to a bitmap i.e. <pre> ptr = &bmp </pre>