Recover From Access Violation Exception
问题 I am using EZTwain (an unmanaged dll) to process some PDF's. I am aware it can only read PDF's that it has created. Unfortunately in the real world it is encountering PDFs which have been created by other libraries. This causes it to fail and throw an AccessViolationException. This in itself is not a huge problem as my C# app continues on its way. Unfortunately when it next comes to this file and tries to reprocess it, it is still locked. Presumably EZTwain is still loaded...in what state i