Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strange voodoo going on!!! Pin
bisserke20-Jun-05 5:31
bisserke20-Jun-05 5:31 
GeneralRe: strange voodoo going on!!! Pin
John R. Shaw20-Jun-05 7:00
John R. Shaw20-Jun-05 7:00 
GeneralCPropertyPage and OnWizardBack Pin
Brigg Thorp20-Jun-05 4:56
Brigg Thorp20-Jun-05 4:56 
GeneralRe: CPropertyPage and OnWizardBack Pin
Mike Dimmick20-Jun-05 5:00
Mike Dimmick20-Jun-05 5:00 
GeneralRe: CPropertyPage and OnWizardBack Pin
Brigg Thorp20-Jun-05 5:02
Brigg Thorp20-Jun-05 5:02 
GeneralRe: CPropertyPage and OnWizardBack Pin
Rage20-Jun-05 6:06
professionalRage20-Jun-05 6:06 
GeneralRe: CPropertyPage and OnWizardBack Pin
Brigg Thorp20-Jun-05 7:52
Brigg Thorp20-Jun-05 7:52 
QuestionCFileFind allocates memory but does not release it? Pin
ryuki20-Jun-05 4:55
ryuki20-Jun-05 4:55 
I had some trouble with my app because it allocates a lot of memory. The longer you use it the more memory was eaten away. After searching for a reason I endet up with CFindFile as the only reason for that.

I have a loop and after deleting all but the CFileFind calls it is the only think that keeps running and allocating memory. Unfortunately CFileFind seems to not release the memory it uses. I tried everything:

CFindFile* findfile=new CFindFile();<br />
//... searching files<br />
findfile->Close();<br />
delete findfile;


doesn't release any of the allocated memory. Can someone help me? How can I free the allocated memory. Is there a alternate way to search for files in a directory?
AnswerRe: CFileFind allocates memory but does not release it? Pin
David Crow20-Jun-05 5:16
David Crow20-Jun-05 5:16 
Generalbut what is with SHGetFileInfo? Pin
ryuki20-Jun-05 14:12
ryuki20-Jun-05 14:12 
GeneralRe: but what is with SHGetFileInfo? Pin
PJ Arends20-Jun-05 16:39
professionalPJ Arends20-Jun-05 16:39 
GeneralRe: but what is with SHGetFileInfo? Pin
ryuki20-Jun-05 22:33
ryuki20-Jun-05 22:33 
GeneralRe: but what is with SHGetFileInfo? Pin
David Crow21-Jun-05 2:26
David Crow21-Jun-05 2:26 
GeneralFile monitoring Pin
LCI20-Jun-05 3:54
LCI20-Jun-05 3:54 
GeneralRe: File monitoring Pin
Alexander M.,20-Jun-05 4:05
Alexander M.,20-Jun-05 4:05 
GeneralRe: File monitoring Pin
Blake Miller20-Jun-05 4:26
Blake Miller20-Jun-05 4:26 
GeneralRe: File monitoring Pin
LCI20-Jun-05 4:30
LCI20-Jun-05 4:30 
GeneralRe: File monitoring Pin
Blake Miller20-Jun-05 4:31
Blake Miller20-Jun-05 4:31 
GeneralRe: File monitoring Pin
LCI20-Jun-05 4:37
LCI20-Jun-05 4:37 
GeneralRe: File monitoring Pin
David Crow20-Jun-05 5:18
David Crow20-Jun-05 5:18 
GeneralString manipulation in a win 32 dll Pin
LCI20-Jun-05 3:48
LCI20-Jun-05 3:48 
GeneralRe: String manipulation in a win 32 dll Pin
Chris Losinger20-Jun-05 4:22
professionalChris Losinger20-Jun-05 4:22 
GeneralRe: String manipulation in a win 32 dll Pin
LCI20-Jun-05 4:34
LCI20-Jun-05 4:34 
GeneralRe: String manipulation in a win 32 dll Pin
Chris Losinger20-Jun-05 4:39
professionalChris Losinger20-Jun-05 4:39 
GeneralRe: String manipulation in a win 32 dll Pin
LCI20-Jun-05 6:05
LCI20-Jun-05 6:05 

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.