Click here to Skip to main content
15,906,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: worker thread model in c++ Pin
an898-Sep-08 0:32
an898-Sep-08 0:32 
AnswerRe: worker thread model in c++ Pin
Vincen Wang8-Sep-08 22:34
Vincen Wang8-Sep-08 22:34 
QuestionRe: worker thread model in c++ Pin
an899-Sep-08 0:54
an899-Sep-08 0:54 
Questionwhat happened when CImage load a 16-bit BMP file Pin
fitatc7-Sep-08 22:33
fitatc7-Sep-08 22:33 
AnswerRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery8-Sep-08 6:19
Mark Salsbery8-Sep-08 6:19 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc8-Sep-08 14:33
fitatc8-Sep-08 14:33 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery9-Sep-08 4:54
Mark Salsbery9-Sep-08 4:54 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc9-Sep-08 21:18
fitatc9-Sep-08 21:18 
// --- file's property --- //
Mark Salsbery wrote:
Are you sure you downloaded the right file?
I right-clicked the 16bit sample from the link and saved
it to my harddrive to test.


Yes, I check it by Read it in Hex, it's 16.
42 4D 42 40 00 00 00 00 00 00 42 00 00 00 28 
00 00 00 7F 00 00 00 40 00 00 00 01 00 10 00 
03 00 00 00 00 40 00 00 00 00 00 00 00 00 00 
...

but, In my OS, the file property is still 32.

I think it's may be my OS's problem, XP-Professional Version 2002 Service Pack 2.
And since I works in japan, my OS is janpanese version of WindowsXP.

// --- CImage --- //
Others in MSDN forum advised me not to use CImage, because it's for display.
And I find that I can't get "the type of compression" by CImage class,
Confused | :confused: So, is it possible that Cimage class change the "BI_BITFIELDS compressed 16-bit bmp"
to "uncompressed 32-bit bmp" in CImage::load?
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery10-Sep-08 4:46
Mark Salsbery10-Sep-08 4:46 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc10-Sep-08 17:07
fitatc10-Sep-08 17:07 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery11-Sep-08 4:25
Mark Salsbery11-Sep-08 4:25 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc11-Sep-08 18:09
fitatc11-Sep-08 18:09 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery12-Sep-08 4:59
Mark Salsbery12-Sep-08 4:59 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery12-Sep-08 5:01
Mark Salsbery12-Sep-08 5:01 
QuestionPostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 21:57
Dhiraj kumar Saini7-Sep-08 21:57 
AnswerRe: PostMessage() function Pin
_AnsHUMAN_ 7-Sep-08 22:01
_AnsHUMAN_ 7-Sep-08 22:01 
GeneralRe: PostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 22:46
Dhiraj kumar Saini7-Sep-08 22:46 
GeneralRe: PostMessage() function Pin
CPallini7-Sep-08 22:51
mveCPallini7-Sep-08 22:51 
AnswerRe: PostMessage() function Pin
CPallini7-Sep-08 22:39
mveCPallini7-Sep-08 22:39 
GeneralRe: PostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 23:18
Dhiraj kumar Saini7-Sep-08 23:18 
GeneralRe: PostMessage() function Pin
CPallini7-Sep-08 23:26
mveCPallini7-Sep-08 23:26 
QuestionAbout Graphics::RotateTransform()???? Pin
TooShy2Talk7-Sep-08 21:32
TooShy2Talk7-Sep-08 21:32 
AnswerRe: About Graphics::RotateTransform()???? Pin
CPallini7-Sep-08 21:37
mveCPallini7-Sep-08 21:37 
QuestionRe: About Graphics::RotateTransform()???? Pin
TooShy2Talk7-Sep-08 21:57
TooShy2Talk7-Sep-08 21:57 
AnswerRe: About Graphics::RotateTransform()???? Pin
SandipG 7-Sep-08 22:00
SandipG 7-Sep-08 22:00 

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.