vitellozzo
Programmer
Hello
I'm developing a program using MFC, but i'm new to them and it doesn't work properly.
The program must recursively search a directory and its subdir for one or more kind of file and merge them.
Theese files are selected through checkboxes and merged by kind: for example all files named alm_sent_bin, in all dir and subdir, must generate a unique log file alm_sent_bin.
the problem is that program catches only the file present in the first dir examined, if it's located in a successive dir he sees it but doesn't merge it with other files found, or , if it's the only one, creates an empty file. I belive i've written a bad search algorithm, something get overwritten somewhere, but being new to mfc can't find where.
Do someone know where can i find a good example for handling file search?
Thanks in advance
Regards
Vitellozzo
I'm developing a program using MFC, but i'm new to them and it doesn't work properly.
The program must recursively search a directory and its subdir for one or more kind of file and merge them.
Theese files are selected through checkboxes and merged by kind: for example all files named alm_sent_bin, in all dir and subdir, must generate a unique log file alm_sent_bin.
the problem is that program catches only the file present in the first dir examined, if it's located in a successive dir he sees it but doesn't merge it with other files found, or , if it's the only one, creates an empty file. I belive i've written a bad search algorithm, something get overwritten somewhere, but being new to mfc can't find where.
Do someone know where can i find a good example for handling file search?
Thanks in advance
Regards
Vitellozzo