Click here to Skip to main content
15,798,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionc libraries needed to deal with bitmaps Pin
Calin Negru11-Mar-20 7:59
Calin Negru11-Mar-20 7:59 
AnswerRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan11-Mar-20 8:44
mveRichard MacCutchan11-Mar-20 8:44 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru11-Mar-20 10:49
Calin Negru11-Mar-20 10:49 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru11-Mar-20 22:51
Calin Negru11-Mar-20 22:51 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan11-Mar-20 23:35
mveRichard MacCutchan11-Mar-20 23:35 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru12-Mar-20 0:27
Calin Negru12-Mar-20 0:27 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan12-Mar-20 0:36
mveRichard MacCutchan12-Mar-20 0:36 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru12-Mar-20 1:18
Calin Negru12-Mar-20 1: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 3:31
mveRichard MacCutchan12-Mar-20 3:31 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru12-Mar-20 5:40
Calin Negru12-Mar-20 5:40 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan12-Mar-20 6:10
mveRichard MacCutchan12-Mar-20 6:10 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru13-Mar-20 4:22
Calin Negru13-Mar-20 4:22 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan13-Mar-20 5:22
mveRichard MacCutchan13-Mar-20 5:22 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru13-Mar-20 8:50
Calin Negru13-Mar-20 8:50 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan13-Mar-20 9:07
mveRichard MacCutchan13-Mar-20 9:07 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru13-Mar-20 22:07
Calin Negru13-Mar-20 22:07 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 0:04
mveRichard MacCutchan14-Mar-20 0:04 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru14-Mar-20 4:30
Calin Negru14-Mar-20 4:30 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 4:47
mveRichard MacCutchan14-Mar-20 4:47 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru14-Mar-20 8:11
Calin Negru14-Mar-20 8:11 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 8:13
mveRichard MacCutchan14-Mar-20 8:13 
GeneralRe: c libraries needed to deal with bitmaps Pin
Calin Negru14-Mar-20 9:18
Calin Negru14-Mar-20 9:18 
GeneralRe: c libraries needed to deal with bitmaps Pin
phil.o14-Mar-20 9:37
professionalphil.o14-Mar-20 9:37 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 10:27
mveRichard MacCutchan14-Mar-20 10:27 
GeneralRe: c libraries needed to deal with bitmaps Pin
phil.o14-Mar-20 10:34
professionalphil.o14-Mar-20 10: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.