How to use a specific PDF IFilter

Posted by dthrasher on Stack Overflow See other posts from Stack Overflow or by dthrasher
Published on 2010-03-08T19:10:07Z Indexed on 2010/04/24 0:33 UTC
Read the original article Hit count: 754

Filed under:
|
|

I'm trying to extract text from PDF files using an iFilter.

The Adobe PDF iFilter that is distributed with Adobe Reader is awful, returning HRESULT E_FAIL messages for many PDF documents.

The FoxIt PDF IFilter works beautifully on virtually all of the PDFs I've been using for testing.

The problem is that every time the Adobe Updater runs, it replaces the awesome FoxIt IFilter with the crappy Adobe IFilter.

I've been using the LoadIFilter method to get the registered IFilter for PDF files. Is there a way to force the Win32 API to load the FoxIt IFilter instead of the Adobe IFilter?

NOTE: This question about determining which IFilters are installed asks a related -- but not identical -- question.

© Stack Overflow or respective owner

Related posts about ifilter

Related posts about pdf