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

C / C++ / MFC

 
GeneralRe: Custom icon for an app Pin
Alton Williams1-Mar-05 7:31
Alton Williams1-Mar-05 7:31 
GeneralRe: Custom icon for an app Pin
Michael Dunn1-Mar-05 7:36
sitebuilderMichael Dunn1-Mar-05 7:36 
GeneralRe: Custom icon for an app Pin
David Crow1-Mar-05 9:07
David Crow1-Mar-05 9:07 
QuestionSetting checkbox state in OnInitDialog? Pin
1-Mar-05 6:59
suss1-Mar-05 6:59 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Blake Miller1-Mar-05 7:23
Blake Miller1-Mar-05 7:23 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:33
Member 16972731-Mar-05 7:33 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Blake Miller1-Mar-05 7:41
Blake Miller1-Mar-05 7:41 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Ravi Bhavnani1-Mar-05 7:27
professionalRavi Bhavnani1-Mar-05 7:27 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:58
Member 16972731-Mar-05 7:58 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Alton Williams1-Mar-05 7:27
Alton Williams1-Mar-05 7:27 
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 

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.