Click here to Skip to main content
14,659,789 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
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
CalinNegru(fearless_)11-Mar-20 9:49
MemberCalinNegru(fearless_)11-Mar-20 9:49 
GeneralRe: c libraries needed to deal with bitmaps Pin
CalinNegru(fearless_)11-Mar-20 21:51
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)11-Mar-20 23:27
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)12-Mar-20 0:18
MemberCalinNegru(fearless_)12-Mar-20 0:18 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan12-Mar-20 2:31
mveRichard MacCutchan12-Mar-20 2:31 
I think you are missing something in your code. You read the BITMAPFILEHEADER but then assume that the remaining data is the actual bitmap, whereas the BITMAPFILEHEADER is followed by another header as described at BITMAPFILEHEADER (wingdi.h) - Win32 apps | Microsoft Docs[^].
GeneralRe: c libraries needed to deal with bitmaps Pin
CalinNegru(fearless_)12-Mar-20 4:40
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)13-Mar-20 3:22
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)13-Mar-20 7:50
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)13-Mar-20 21:07
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)14-Mar-20 3:30
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)14-Mar-20 7:11
MemberCalinNegru(fearless_)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
CalinNegru(fearless_)14-Mar-20 8:18
MemberCalinNegru(fearless_)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 
GeneralRe: c libraries needed to deal with bitmaps Pin
Richard MacCutchan14-Mar-20 21:58
mveRichard MacCutchan14-Mar-20 21:58 

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.