Click here to Skip to main content
15,897,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Who can help me to receive letter :) Pin
Ravi Bhavnani14-May-02 17:26
professionalRavi Bhavnani14-May-02 17:26 
GeneralRe: Who can help me to receive letter :) Pin
Cliff15-May-02 16:04
Cliff15-May-02 16:04 
QuestionMultithread ? Pin
dlhson14-May-02 16:50
dlhson14-May-02 16:50 
AnswerRe: Multithread ? Pin
Nish Nishant14-May-02 17:20
sitebuilderNish Nishant14-May-02 17:20 
AnswerRe: Multithread ? Pin
Larry Antram14-May-02 19:32
Larry Antram14-May-02 19:32 
GeneralCStdioFile Question... Pin
Emearg14-May-02 15:54
Emearg14-May-02 15:54 
GeneralRe: CStdioFile Question... Pin
Jason Henderson14-May-02 16:41
Jason Henderson14-May-02 16:41 
GeneralRe: CStdioFile Question... Pin
Emearg14-May-02 16:58
Emearg14-May-02 16:58 
Alright...

I declared a bool variable called 'done', and tried to use it in a loop like this:

while(!done)
{
if(File.ReadString(LogString) == FALSE)
done = true;
}

I did false because CStdioFile::ReadString returns BOOL types.
That should work, but it doesn't. When I click the button that calls the function that snippet is in it doesn't do anything. If I put just a simple call to the ReadSting() function then it reads the first string.. but that loops makes it read nothing... I dunno what's wrong. =/

thanks, emearg
GeneralRe: CStdioFile Question... Pin
Nish Nishant14-May-02 17:17
sitebuilderNish Nishant14-May-02 17:17 
GeneralRe: CStdioFile Question... Pin
Emearg14-May-02 18:05
Emearg14-May-02 18:05 
GeneralA good tool for programmer Pin
14-May-02 15:35
suss14-May-02 15:35 
GeneralCreating UI with Threads Pin
Coremn14-May-02 15:23
Coremn14-May-02 15:23 
GeneralRe: Creating UI with Threads Pin
Tim Smith14-May-02 15:35
Tim Smith14-May-02 15:35 
GeneralRe: Creating UI with Threads Pin
Coremn14-May-02 15:48
Coremn14-May-02 15:48 
GeneralRe: Creating UI with Threads Pin
Jon Hulatt15-May-02 0:07
Jon Hulatt15-May-02 0:07 
GeneralUnhandled exception... Pin
SilverShalkin14-May-02 14:49
SilverShalkin14-May-02 14:49 
GeneralRe: Unhandled exception... Pin
soptest14-May-02 15:00
soptest14-May-02 15:00 
GeneralRe: Unhandled exception... Pin
Christian Graus14-May-02 15:08
protectorChristian Graus14-May-02 15:08 
GeneralRe: Unhandled exception... Pin
Christian Graus14-May-02 15:06
protectorChristian Graus14-May-02 15:06 
GeneralRe: Unhandled exception... Pin
SilverShalkin14-May-02 17:04
SilverShalkin14-May-02 17:04 
GeneralRe: Unhandled exception... Pin
Christian Graus14-May-02 17:36
protectorChristian Graus14-May-02 17:36 
GeneralRe: Unhandled exception... Pin
SilverShalkin14-May-02 18:01
SilverShalkin14-May-02 18:01 
GeneralRe: Unhandled exception... Pin
Christian Graus14-May-02 18:47
protectorChristian Graus14-May-02 18:47 
GeneralRe: Unhandled exception... Pin
Renjith Ramachandran14-May-02 18:05
Renjith Ramachandran14-May-02 18:05 
GeneralRe: Unhandled exception... Pin
SilverShalkin15-May-02 3:44
SilverShalkin15-May-02 3:44 

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.