EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to tell a Timeout in Enum

Posted: 07/22/2009 08:58:28
by Bastian Moldenhauer (Standard support level)
Joined: 06/04/2009
Posts: 40


how can I communicate a timeout to the driver/explorer so the user gets a understandable feedback if an timeout happens.

I tried something like this at the end of EnumerateDircetory(..)


           //some code with timeout possible
           //because server is not responding
           catch (TimeoutException)
                throw new ECBFSError((uint)Errors.ERROR_TIMEOUT);//timeout error code -> 1460

But the explorer simply shows an empty folder. Any idea how this can be done in a better way?

Thanks and Regards
Posted: 07/24/2009 06:30:24
by Volodymyr Zinin (Team)


It seems that Explorer either doesn't check for errors during enumeration or doesn't show them to the user.
Try to throw some other errors. Perhaps they can be shown.



Topic viewed 1669 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!