SuperTeone
Programmer
Hi everybody,
I've solved the problem: simply, when you perform a search using MFC functions you have to CLOSE THE SEARCH with
BOOL FindClose(HANDLE hFindFile);
If you don't close the search, the directory could not be removed becouse it continue to be used by a process.
So, for Jerry, add the appropriate closing instruction to my code and it will perfectly (but not optimizally work.
Thanks to everybody,
bye.
Teo.
I've solved the problem: simply, when you perform a search using MFC functions you have to CLOSE THE SEARCH with
BOOL FindClose(HANDLE hFindFile);
If you don't close the search, the directory could not be removed becouse it continue to be used by a process.
So, for Jerry, add the appropriate closing instruction to my code and it will perfectly (but not optimizally work.
Thanks to everybody,
bye.
Teo.