Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BMP Reader C Code Pin
Mitesh Karwa7-Jun-09 0:26
Mitesh Karwa7-Jun-09 0:26 
GeneralRe: BMP Reader C Code Pin
CPallini7-Jun-09 3:02
mveCPallini7-Jun-09 3:02 
GeneralRe: BMP Reader C Code Pin
Mitesh Karwa7-Jun-09 23:27
Mitesh Karwa7-Jun-09 23:27 
GeneralRe: BMP Reader C Code Pin
Mitesh Karwa7-Jun-09 0:16
Mitesh Karwa7-Jun-09 0:16 
AnswerRe: BMP Reader C Code Pin
Hamid_RT4-Jun-09 1:07
Hamid_RT4-Jun-09 1:07 
QuestionRe: BMP Reader C Code Pin
Mitesh Karwa6-Jun-09 23:32
Mitesh Karwa6-Jun-09 23:32 
AnswerRe: BMP Reader C Code Pin
KarstenK4-Jun-09 4:09
mveKarstenK4-Jun-09 4:09 
AnswerBitmap is the Native Windows Image Format Pin
Baltoro4-Jun-09 5:59
Baltoro4-Jun-09 5:59 
...Since, you are trying to read a Bitmap (presumably stored on disk), I'm assuming that you are attempting to write Windows code. Your posted code example has numerous errors. You should start by reading up on the: Bitmap Storage Format, MSDN[^].
This will explain the overall data structure of a bitmap file stored on your computer. You should become familiar with the Bitmap header structure, so that you can read the bitmap file correctly. Here is the reference for the Bitmap Header Types[^]. You should read the headers first to be sure that the image is, in fact, a 24-bit bitmap type (there are numerous variations).
The preferred method is to open the bitmap file with, CreateFile. Then you can read the byte arrays in whatever way is appropriate to your applicatrion.
GeneralRe: Bitmap is the Native Windows Image Format Pin
Mitesh Karwa7-Jun-09 0:47
Mitesh Karwa7-Jun-09 0:47 
AnswerRe: BMP Reader C Code Pin
XcentY1-Jun-17 3:06
XcentY1-Jun-17 3:06 
QuestionIs there iges model/file show UIControl or code? Pin
BegtostudyBoy3-Jun-09 22:53
BegtostudyBoy3-Jun-09 22:53 
QuestionRe: Is there iges model/file show UIControl or code? Pin
CPallini4-Jun-09 0:36
mveCPallini4-Jun-09 0:36 
AnswerRe: Is there iges model/file show UIControl or code? Pin
BegtostudyBoy4-Jun-09 1:21
BegtostudyBoy4-Jun-09 1:21 
QuestionREQUEST FOR HELP Pin
Ramin O3-Jun-09 21:09
Ramin O3-Jun-09 21:09 
AnswerRe: REQUEST FOR HELP Pin
CPallini3-Jun-09 21:13
mveCPallini3-Jun-09 21:13 
QuestionMove Up and Move Down functionality to CListCtrl Pin
Royaltvk3-Jun-09 20:47
Royaltvk3-Jun-09 20:47 
QuestionRe: Move Up and Move Down functionality to CListCtrl Pin
CPallini3-Jun-09 20:49
mveCPallini3-Jun-09 20:49 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
Royaltvk4-Jun-09 0:38
Royaltvk4-Jun-09 0:38 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
Uwe Keim3-Jun-09 20:53
sitebuilderUwe Keim3-Jun-09 20:53 
QuestionRe: Move Up and Move Down functionality to CListCtrl Pin
Maximilien4-Jun-09 1:27
Maximilien4-Jun-09 1:27 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
KarstenK3-Jun-09 21:18
mveKarstenK3-Jun-09 21:18 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
molesworth3-Jun-09 22:36
molesworth3-Jun-09 22:36 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
David Crow4-Jun-09 2:52
David Crow4-Jun-09 2:52 
Questionhow to get record count by SQL from a table of MS access? Pin
includeh103-Jun-09 20:04
includeh103-Jun-09 20:04 
AnswerRe: how to get record count by SQL from a table of MS access? Pin
CPallini3-Jun-09 20:13
mveCPallini3-Jun-09 20:13 

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.