should work now

experimental
Perttu Ahola 2011-01-26 01:06:45 +02:00
parent b456821680
commit a0f0517c5b
2 changed files with 6 additions and 1 deletions

View File

@ -157,7 +157,11 @@ bool RecursiveDelete(std::string path)
int r = SHFileOperation(&sfo);
return (r == 0);
if(r != 0)
std::cerr<<"SHFileOperation returned "<<r<<std::endl;
//return (r == 0);
return true;
}
#else // POSIX

View File

@ -41,6 +41,7 @@ bool CreateDir(std::string path);
bool PathExists(std::string path);
// Only pass full paths to this one. True on success.
// NOTE: The WIN32 version returns always true.
bool RecursiveDelete(std::string path);
// Only pass full paths to this one. True on success.