How do I expose errors that occur inside an IFilter to the user?
The IFilter can be loaded by a variety of Microsoft products, server products like SharePoint included. It will be separated into modules one of which is an NT service for handling indexing huge files, connection will be performed via RPC. So just anything can go wrong - permissions can be insufficicent and RPC call will fail or whatever else. Until the problem is fixed the IFilter will just not work from the consumer application point of view.
How do I at least log the error messages in some convenient way? Should I just write a log file into Windows\System32 or is there some better way?