Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages
Started by luca
Tue, 16 May 2006 16:00
GetDIBits
Author: luca
Date: Tue, 16 May 2006 16:00
Date: Tue, 16 May 2006 16:00
5 lines
893 bytes
893 bytes
using GetDIBits with a bitmap taht has more than about 1000 x 300 pxls we get a buffer filled with zeroes. Someone knows a solution? luca
Re: GetDIBits
Author: Michel Leunen
Date: Tue, 16 May 2006 19:32
Date: Tue, 16 May 2006 19:32
15 lines
1411 bytes
1411 bytes
luca wrote: > using GetDIBits with a bitmap taht has more than about 1000 x 300 pxls we > get a buffer filled with zeroes. There must be something wrong with your code. GetDiBits() works just fine. Show us your code because just saying it doesn't work is a bit short. Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Re: GetDIBits
Author: Bruce Salzman
Date: Tue, 16 May 2006 20:28
Date: Tue, 16 May 2006 20:28
4 lines
1048 bytes
1048 bytes
Try allocating your buffer with GlobalAlloc() instead of new[]. -- Bruce
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads