ifilter

LoadIFilter() returns -2147467259 for some PDF files

删除回忆录丶 提交于 2019-12-07 07:49:35
问题 I am trying to use Adobe IFilter to search PDF files. My code is written in C# and I am using p/invoke to get an instance of IFilter: [DllImport("query.dll", SetLastError = true, CharSet = CharSet.Unicode)] private extern static int LoadIFilter( string pwcsPath, [MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, ref IFilter ppIUnk); This works for most PDF files except a few for which this method returns -2147467259 and ppIUnk is coming as null. Does anyone have this type of errors or have

IFilter replacement

末鹿安然 提交于 2019-12-06 00:02:01
问题 I'm currently using IFilters to extract text from various file (word, excel, tiff, pdf etc). I understand that IFilters have been discontinued with Windows 8. Does anyone have any recommendations on how to extract text without the native apps being installed? If it's any use I'm using C# and .Net 4 回答1: IFilter is not discontinued. Only the Windows Indexing Service is discontinued in favor of Windows Search or Microsoft Search Server. Both continue to use IFilters. According to this

IFilter replacement

一个人想着一个人 提交于 2019-12-04 04:06:59
I'm currently using IFilters to extract text from various file (word, excel, tiff, pdf etc). I understand that IFilters have been discontinued with Windows 8. Does anyone have any recommendations on how to extract text without the native apps being installed? If it's any use I'm using C# and .Net 4 IFilter is not discontinued. Only the Windows Indexing Service is discontinued in favor of Windows Search or Microsoft Search Server. Both continue to use IFilters. According to this documentation , the main point of compatibility for IFilters going forward are that they support the IPersistStream

Programmatically determine which iFilters are installed

一笑奈何 提交于 2019-12-03 15:03:40
问题 I have a problem whereby the Adobe PDF iFilter doesn't work consistently for us. As such, we like to use the one from Foxit. The problem is, if we install the Foxit iFilter and then later the client decides to reinstall Adobe Reader it may overwrite the Foxit iFilter. We can use tools such as IFilter Explorer to view this but I'd like a way to do this in the application and warn the user/client that the iFilter has changed. Is there a way to check iFilters from code (C#)? Or other potential

Why would Windows Search query my IFilter for a bunch of weird interfaces?

旧巷老猫 提交于 2019-12-01 10:35:36
I've implemented an IFilter as a native VC++ ATL in-proc COM server. Windows Search wouldn't use it - it creates an instance of my IFilter and then executes a bunch of QueryInterface() calls, specifically: IMarshal IStdMarshalInfo something with {4C1E39E1-E3E3-4296-AA86-EC938D896E92} interface id and a couple of others. Since my IFilter only implements IFilter, IPersist and IPersistFile most of the calls return E_NOINTERFACE, so Windows Search just releases my object and does nothing. Why is it querying for those interfaces and how do I work the problem around? Shay Erlichmen Windows tries

Why would Windows Search query my IFilter for a bunch of weird interfaces?

血红的双手。 提交于 2019-12-01 08:45:25
问题 I've implemented an IFilter as a native VC++ ATL in-proc COM server. Windows Search wouldn't use it - it creates an instance of my IFilter and then executes a bunch of QueryInterface() calls, specifically: IMarshal IStdMarshalInfo something with {4C1E39E1-E3E3-4296-AA86-EC938D896E92} interface id and a couple of others. Since my IFilter only implements IFilter, IPersist and IPersistFile most of the calls return E_NOINTERFACE, so Windows Search just releases my object and does nothing. Why is