Click here to Skip to main content
15,908,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ODBC; Multiple rows updated. Pin
Toni789-Jul-03 13:14
Toni789-Jul-03 13:14 
GeneralRe: ODBC; Multiple rows updated. Pin
Anonymous10-Jul-03 4:13
Anonymous10-Jul-03 4:13 
GeneralRe: ODBC; Multiple rows updated. Pin
Toni7810-Jul-03 18:07
Toni7810-Jul-03 18:07 
Generalcannot display BMP when resolution is 0 Pin
Satyaki9-Jul-03 7:03
Satyaki9-Jul-03 7:03 
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher9-Jul-03 8:10
John M. Drescher9-Jul-03 8:10 
GeneralRe: cannot display BMP when resolution is 0 Pin
Ryan Binns9-Jul-03 17:10
Ryan Binns9-Jul-03 17:10 
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher9-Jul-03 17:17
John M. Drescher9-Jul-03 17:17 
GeneralRe: cannot display BMP when resolution is 0 Pin
Satyaki9-Jul-03 22:14
Satyaki9-Jul-03 22:14 
John M. Drescher wrote:
I felt that way when read the question. A coworker thought that he had an corrupt bitmap and wanted to know how to display it in that case..

Sorry for the confusion I had created. Here are the values of interest from BITMAPINFOHEADER

biWidth = 256
biHeight = 256
biXPelsPerMeter = 0
biYPelsPerMeter = 0

I think that the last two values are the cause of the problem. For images in which these values are non zero, they are displayed properly.

Just wondering how Windows Paint is able to display the file with which I am facing the problem!!

Can somebody now say what is happening
Regards
Satyaki
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher10-Jul-03 3:36
John M. Drescher10-Jul-03 3:36 
GeneralWindows media format 9 Pin
Emiliano9-Jul-03 7:03
Emiliano9-Jul-03 7:03 
GeneralRe: Windows media format 9 Pin
Led9-Jul-03 11:30
Led9-Jul-03 11:30 
GeneralWindows Media Format sdk :confused: Pin
Anonymous9-Jul-03 7:01
Anonymous9-Jul-03 7:01 
GeneralRe: Windows Media Format sdk :confused: Pin
David Crow9-Jul-03 9:02
David Crow9-Jul-03 9:02 
GeneralExtracting RGB values from a color Pin
IGeorgeI9-Jul-03 6:44
IGeorgeI9-Jul-03 6:44 
GeneralRe: Extracting RGB values from a color Pin
Keith D9-Jul-03 6:51
Keith D9-Jul-03 6:51 
GeneralRe: Extracting RGB values from a color Pin
Magnus Westin9-Jul-03 7:00
Magnus Westin9-Jul-03 7:00 
GeneralRe: Extracting RGB values from a color Pin
IGeorgeI9-Jul-03 8:23
IGeorgeI9-Jul-03 8:23 
QuestionLZW anybody?? Pin
keb9-Jul-03 6:31
keb9-Jul-03 6:31 
AnswerRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:33
Larry Antram9-Jul-03 7:33 
GeneralRe: LZW anybody?? Pin
keb9-Jul-03 7:40
keb9-Jul-03 7:40 
GeneralRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:45
Larry Antram9-Jul-03 7:45 
GeneralRe: LZW anybody?? Pin
John M. Drescher9-Jul-03 8:13
John M. Drescher9-Jul-03 8:13 
GeneralRe: LZW anybody?? Pin
peterchen9-Jul-03 9:51
peterchen9-Jul-03 9:51 
AnswerRe: LZW anybody?? Pin
perlmunger9-Jul-03 7:45
perlmunger9-Jul-03 7:45 
Generalwincrypt.h Pin
Tili9-Jul-03 6:24
Tili9-Jul-03 6:24 

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.