Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ??Resuming a partial download?? Pin
Mike Nordell28-Sep-02 19:27
Mike Nordell28-Sep-02 19:27 
GeneralRe: ??Resuming a partial download?? Pin
licensed2kill29-Sep-02 7:41
licensed2kill29-Sep-02 7:41 
Generallow level code Pin
Kuniva28-Sep-02 14:03
Kuniva28-Sep-02 14:03 
GeneralRe: low level code Pin
Mike Nordell28-Sep-02 19:30
Mike Nordell28-Sep-02 19:30 
GeneralRe: low level code Pin
Stephane Rodriguez.28-Sep-02 21:19
Stephane Rodriguez.28-Sep-02 21:19 
GeneralRe: low level code Pin
Daniel Turini28-Sep-02 23:13
Daniel Turini28-Sep-02 23:13 
QuestionDoes this bit of code work? Pin
DarrollWalsh28-Sep-02 13:35
DarrollWalsh28-Sep-02 13:35 
AnswerRe: Does this bit of code work? Pin
Michael Dunn28-Sep-02 14:34
sitebuilderMichael Dunn28-Sep-02 14:34 
The CFileFind interface is a bit wonky.
BOOL bWorking = finder.FindFile ( szFileToFind );
 
  while ( bWorking )
    {
    bWorking = finder.FindNextFile();
    Plugins[tag] = finder.GetFileName();
    }
The return value from FindNextFile() indicates whether you just got the last file in the search, which is contrary to how most classes do it (where the return indicates whether you've gone through all the files). When it returns FALSE, you still have one file left to process.

--Mike--
Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm

GeneralDelete *.ini sections Pin
Selevercin28-Sep-02 11:55
Selevercin28-Sep-02 11:55 
GeneralRe: Delete *.ini sections Pin
DarrollWalsh28-Sep-02 12:18
DarrollWalsh28-Sep-02 12:18 
GeneralRe: Delete *.ini sections Pin
Selevercin28-Sep-02 12:52
Selevercin28-Sep-02 12:52 
GeneralRe: Delete *.ini sections Pin
Abin28-Sep-02 22:00
Abin28-Sep-02 22:00 
GeneralRe: Delete *.ini sections Pin
Mike Nordell29-Sep-02 4:23
Mike Nordell29-Sep-02 4:23 
GeneralRe: Delete *.ini sections Pin
JT Anderson1-Oct-02 6:41
JT Anderson1-Oct-02 6:41 
QuestionAny suggestion on how this could be done? Pin
WREY28-Sep-02 11:15
WREY28-Sep-02 11:15 
AnswerRe: Any suggestion on how this could be done? Pin
DarrollWalsh28-Sep-02 11:22
DarrollWalsh28-Sep-02 11:22 
GeneralRe: Any suggestion on how this could be done? Pin
Jim A. Johnson28-Sep-02 11:49
Jim A. Johnson28-Sep-02 11:49 
GeneralRe: Any suggestion on how this could be done? Pin
Maximilien28-Sep-02 11:57
Maximilien28-Sep-02 11:57 
GeneralRe: Any suggestion on how this could be done? Pin
WREY28-Sep-02 12:44
WREY28-Sep-02 12:44 
GeneralSearch directory Pin
DarrollWalsh28-Sep-02 10:29
DarrollWalsh28-Sep-02 10:29 
GeneralRe: Search directory Pin
Mazdak28-Sep-02 10:35
Mazdak28-Sep-02 10:35 
GeneralRe: Search directory (code) Pin
DarrollWalsh28-Sep-02 11:13
DarrollWalsh28-Sep-02 11:13 
GeneralGetting subitem rect in report-style CListCtrl Pin
IGx8928-Sep-02 7:54
IGx8928-Sep-02 7:54 
GeneralRe: Getting subitem rect in report-style CListCtrl Pin
Michael Dunn28-Sep-02 8:50
sitebuilderMichael Dunn28-Sep-02 8:50 
GeneralRe: Getting subitem rect in report-style CListCtrl Pin
IGx8928-Sep-02 10:33
IGx8928-Sep-02 10:33 

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.