How to get file in use error when extracting

Feb 5, 2013 at 11:30 AM
I have a big zip file and is writing a program to extract these files. Some of the destination files can be in use when I extract and then I would like to send out the error message that the file is in use.
I'm using the ExtractSelectedEntries with the option to OverwriteSilently because I would like to overwrite all the files. But if for example a destination dll-file is in use I would like to report this.

How should I do to get this error?

/ Tomas