Click here to Skip to main content
14,538,503 members

C / C++ / MFC

 
Questionc libraries needed to deal with bitmaps Pin
fearless_11-Mar-20 6:59
Memberfearless_11-Mar-20 6:59 
AnswerRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan11-Mar-20 7:44
mveRichard MacCutchan11-Mar-20 7:44 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_11-Mar-20 9:49
Memberfearless_11-Mar-20 9:49 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_11-Mar-20 21:51
Memberfearless_11-Mar-20 21:51 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan11-Mar-20 22:35
mveRichard MacCutchan11-Mar-20 22:35 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_11-Mar-20 23:27
Memberfearless_11-Mar-20 23:27 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan11-Mar-20 23:36
mveRichard MacCutchan11-Mar-20 23:36 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_12-Mar-20 0:18
Memberfearless_12-Mar-20 0:18 
At the end of code posted above I try to do this:

StringCchPrintfA(message,1024,"dib at 34 %d",pDib[34]);
	MessageBox(NULL, message, "Textures.exe", MB_OK);


I expect pDib[34] to be 255 since the bitmap is 10 white pixels ( in a row) 40 bytes in total.
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan12-Mar-20 2:31
mveRichard MacCutchan12-Mar-20 2:31 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_12-Mar-20 4:40
Memberfearless_12-Mar-20 4:40 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan12-Mar-20 5:10
mveRichard MacCutchan12-Mar-20 5:10 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_13-Mar-20 3:22
Memberfearless_13-Mar-20 3:22 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan13-Mar-20 4:22
mveRichard MacCutchan13-Mar-20 4:22 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_13-Mar-20 7:50
Memberfearless_13-Mar-20 7:50 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan13-Mar-20 8:07
mveRichard MacCutchan13-Mar-20 8:07 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_13-Mar-20 21:07
Memberfearless_13-Mar-20 21:07 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan13-Mar-20 23:04
mveRichard MacCutchan13-Mar-20 23:04 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_14-Mar-20 3:30
Memberfearless_14-Mar-20 3:30 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 3:47
mveRichard MacCutchan14-Mar-20 3:47 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_14-Mar-20 7:11
Memberfearless_14-Mar-20 7:11 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 7:13
mveRichard MacCutchan14-Mar-20 7:13 
GeneralRe: c libraries needed to deal with bitmaps Pin
fearless_14-Mar-20 8:18
Memberfearless_14-Mar-20 8:18 
GeneralRe: c libraries needed to deal with bitmaps Pin
phil.o14-Mar-20 8:37
mvephil.o14-Mar-20 8:37 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 9:27
mveRichard MacCutchan14-Mar-20 9:27 
GeneralRe: c libraries needed to deal with bitmaps Pin
phil.o14-Mar-20 9:34
mvephil.o14-Mar-20 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.