LoadIFilter() returns -2147467259 for some PDF files
问题 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