Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:58
Member 16972731-Mar-05 7:58 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
David Crow1-Mar-05 9:05
David Crow1-Mar-05 9:05 
QuestionWhat format is this file in and how to open it in C++ Pin
Member 121962521-Mar-05 6:58
Member 121962521-Mar-05 6:58 
AnswerRe: What format is this file in and how to open it in C++ Pin
Michael Dunn1-Mar-05 7:41
sitebuilderMichael Dunn1-Mar-05 7:41 
GeneralRe: What format is this file in and how to open it in C++ Pin
Tommy2d1-Mar-05 9:54
Tommy2d1-Mar-05 9:54 
GeneralRe: What format is this file in and how to open it in C++ Pin
Michael Dunn1-Mar-05 10:44
sitebuilderMichael Dunn1-Mar-05 10:44 
GeneralRe: What format is this file in and how to open it in C++ Pin
Tommy2k1-Mar-05 12:19
Tommy2k1-Mar-05 12:19 
GeneralRe: What format is this file in and how to open it in C++ Pin
normanS1-Mar-05 20:51
normanS1-Mar-05 20:51 
Is the problem with reading the file or displaying it in your messagebox?

The first thing I would suggest is to use debugger to check if
file.read (buffer, size);
actually reads the file into buffer (break after this line and look at buffer.)

If buffer does not contain the correct contents, the problem is with reading. Maybe the read is expecting 8-bit ASCI?

If buffer actually has the ciorrect contents, the problem may be that
MessageBox(0,buffer,NULL,0);
expects buffer to be ASCI text, so if it is contains a 0x00 byte, this is seen as end of string.

GeneralRe: What format is this file in and how to open it in C++ Pin
Tommy2d2-Mar-05 4:58
Tommy2d2-Mar-05 4:58 
QuestionWhat format is this file in and how to open it in C++ Pin
Member 121962521-Mar-05 6:58
Member 121962521-Mar-05 6:58 
GeneralAdding a button to all active windows... Pin
price1-Mar-05 6:34
price1-Mar-05 6:34 
GeneralForce delete file Pin
User 17288841-Mar-05 5:32
User 17288841-Mar-05 5:32 
GeneralRe: Force delete file Pin
David Crow1-Mar-05 6:02
David Crow1-Mar-05 6:02 
GeneralRe: Force delete file Pin
Blake Miller1-Mar-05 6:07
Blake Miller1-Mar-05 6:07 
GeneralRe: Force delete file Pin
Maximilien1-Mar-05 6:24
Maximilien1-Mar-05 6:24 
Generalactivex - save graphics to file Pin
sstoyan1-Mar-05 4:44
sstoyan1-Mar-05 4:44 
GeneralRe: activex - save graphics to file Pin
Roger Allen1-Mar-05 5:30
Roger Allen1-Mar-05 5:30 
GeneralRe: activex - save graphics to file Pin
sstoyan1-Mar-05 6:08
sstoyan1-Mar-05 6:08 
GeneralRe: activex - save graphics to file Pin
sstoyan1-Mar-05 6:05
sstoyan1-Mar-05 6:05 
QuestionClear internet history? Pin
Larsson1-Mar-05 3:57
Larsson1-Mar-05 3:57 
AnswerRe: Clear internet history? Pin
David Crow1-Mar-05 4:22
David Crow1-Mar-05 4:22 
AnswerRe: Clear internet history? Pin
Ravi Bhavnani1-Mar-05 4:34
professionalRavi Bhavnani1-Mar-05 4:34 
GeneralRe: Clear internet history? Pin
Larsson1-Mar-05 4:52
Larsson1-Mar-05 4:52 
GeneralRe: Clear internet history? Pin
David Crow1-Mar-05 6:10
David Crow1-Mar-05 6:10 
GeneralRe: Clear internet history? Pin
Larsson1-Mar-05 20:18
Larsson1-Mar-05 20:18 

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.