30 Apr
2008
30 Apr
'08
5:13 p.m.
Hello *, iterating through a directory (let's say in Windows c:\) with system files, to which only OS has access (like hiberfil.sys) causes the directory iterator to throw an exception. This is all fine, but how can I know what was the error? status function of the particular directory enty returns regular_file as file_status and system_error_type is 0. The exception thrown is as always (in the filesystem lib) very much saying: boost::directory_iterator. Is anybody aware of other ways to determine what happened? Just to ignore the exception while iterating through the directory is not always the best choice. Many Thanks, Ovanes
6041
Age (days ago)
6041
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ovanes Markarian