Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: copy image file to memory Pin
David Crow14-Nov-06 4:54
David Crow14-Nov-06 4:54 
AnswerRe: copy image file to memory Pin
_tasleem14-Nov-06 5:27
_tasleem14-Nov-06 5:27 
AnswerRe: copy image file to memory Pin
David Crow14-Nov-06 5:35
David Crow14-Nov-06 5:35 
GeneralRe: copy image file to memory Pin
_tasleem14-Nov-06 6:37
_tasleem14-Nov-06 6:37 
QuestionRe: copy image file to memory Pin
David Crow14-Nov-06 6:45
David Crow14-Nov-06 6:45 
AnswerRe: copy image file to memory Pin
_tasleem15-Nov-06 2:54
_tasleem15-Nov-06 2:54 
QuestionRe: copy image file to memory Pin
David Crow15-Nov-06 3:18
David Crow15-Nov-06 3:18 
AnswerRe: copy image file to memory Pin
_tasleem15-Nov-06 20:49
_tasleem15-Nov-06 20:49 
thanks for replay!
i had done that b4 and it works,The purpose of reading from memory n displaying was that i want to confirm that bitmaps is correctaly copied in memory, and purpose of displaying through cout<< was that i m varified that both outputs are same, and if i perform the operations like changing its bits from memory then get the correct bits to change.

what i m doing i had read the file from disk through 2 methods
1.as u mentioned above and it works fine reading byte by byte or structure but this method is slow as i had to read the whole image byte by byte and it will take lot of time.
2.Through second method i m reading the whole image once not like byte by byte as method 1. i.e
file.read(buffer,filesize);
what i m doing is displaying the data using cout and confirming that both workd fine or not.
hope now u understood the situation.

Tasleem Arif

QuestionHow to save and resotre the Child Frame? Pin
abuseyoudna198114-Nov-06 4:26
abuseyoudna198114-Nov-06 4:26 
AnswerRe: How to save and resotre the Child Frame? Pin
Hamid_RT15-Nov-06 7:20
Hamid_RT15-Nov-06 7:20 
QuestionMaximaze dialog? Pin
Larsson14-Nov-06 4:21
Larsson14-Nov-06 4:21 
AnswerRe: Maximaze dialog? Pin
toxcct14-Nov-06 4:36
toxcct14-Nov-06 4:36 
AnswerRe: Maximaze dialog? Pin
Hamid_RT14-Nov-06 8:09
Hamid_RT14-Nov-06 8:09 
Questionmaximaze dialog? Pin
Larsson14-Nov-06 4:09
Larsson14-Nov-06 4:09 
AnswerRe: maximaze dialog? [modified] Pin
toxcct14-Nov-06 4:14
toxcct14-Nov-06 4:14 
GeneralRe: maximaze dialog? Pin
Larsson14-Nov-06 4:33
Larsson14-Nov-06 4:33 
GeneralRe: maximaze dialog? Pin
toxcct14-Nov-06 4:36
toxcct14-Nov-06 4:36 
GeneralRe: maximaze dialog? Pin
Larsson14-Nov-06 4:42
Larsson14-Nov-06 4:42 
GeneralRe: maximaze dialog? [modified] Pin
toxcct14-Nov-06 4:45
toxcct14-Nov-06 4:45 
GeneralRe: maximaze dialog? Pin
Larsson14-Nov-06 4:48
Larsson14-Nov-06 4:48 
GeneralRe: maximaze dialog? Pin
David Crow14-Nov-06 4:45
David Crow14-Nov-06 4:45 
GeneralRe: maximaze dialog? Pin
toxcct14-Nov-06 4:47
toxcct14-Nov-06 4:47 
GeneralRe: maximaze dialog? Pin
Larsson14-Nov-06 4:54
Larsson14-Nov-06 4:54 
AnswerRe: maximaze dialog? Pin
abuseyoudna198114-Nov-06 4:14
abuseyoudna198114-Nov-06 4:14 
QuestionUpdateData() in Thread Pin
Max++14-Nov-06 3:34
Max++14-Nov-06 3: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.