If I pass it a source that doesn't exist it still returns true.Code:bool copyFile(const apstring &source, const apstring &dest) // Copies source to dest and return true on success. { long flag = CopyFile(source.c_str(), dest.c_str(), FALSE); return (flag == ERROR_SUCCESS); }




Reply With Quote