heribertolugo / FileList

List all files in a given directory, and provide the option to copy or move selected files.
1 stars 0 forks source link

Extended properties missing #34

Closed heribertolugo closed 5 years ago

heribertolugo commented 5 years ago

some items are missing extended properties. after some investigation it seems the singleton instance of ShellClass is getting out of sync and throwing a The object invoked has disconnected from its clients exception.

the workaround is to create a new Shell instance and retry. this can be dangerous. as if this happens too many times, ShellClass instance limit will be reached causing the application to crash (as was the case during initial development, reason a singleton is being used now).

workaround was tested with 200k files and no issues were found.