Connecting Tech Pros Worldwide Help | Site Map

IFilter

  #1  
Old July 19th, 2005, 06:28 PM
timtos
Guest
 
Posts: n/a
I want to use the IFilter interface. For that I am using the method

STDAPI LoadIFilter(WCHAR const * pwcsPath,
IUnknown * pUnkOuter,
void ** ppIUnk);

and this is working fine if the file extension of the passed file is known.
Otherwise the null filter is returned what I donīt want. Files with unknown
extension should use the default plain text filter.

But although setting the registry entries FilterFilesWithUnknownExtensions to 1,
LoadIFilter always returns null for these files.

How is it possible to get a valid filter for these types?
Thanks A LOT for any kind of information!

Greetings,
timtos.


  #2  
Old July 19th, 2005, 06:28 PM
Thomas Matthews
Guest
 
Posts: n/a

re: IFilter


timtos wrote:[color=blue]
> I want to use the IFilter interface. For that I am using the method
>
> STDAPI LoadIFilter(WCHAR const * pwcsPath,
> IUnknown * pUnkOuter,
> void ** ppIUnk);
>
> and this is working fine if the file extension of the passed file is known.
> Otherwise the null filter is returned what I donīt want. Files with unknown
> extension should use the default plain text filter.
>
> But although setting the registry entries FilterFilesWithUnknownExtensions to 1,
> LoadIFilter always returns null for these files.
>
> How is it possible to get a valid filter for these types?
> Thanks A LOT for any kind of information!
>
> Greetings,
> timtos.
>
>[/color]

I couldn't find "IFilter" in the C++ FAQ.
I couldn't find "IFilter" in the ARM C++ compiler.
I couldn't find "IFilter" in the GNU C++ compiler.
I couldn't find "IFilter" in the Borland C++ builder compiler.

Hmm, probably a platform specific function and best discussed
in a platform or compiler specific newsgroup. Please see the
FAQ and Welcome.txt links below for more appropriate newsgroups.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

  #3  
Old July 19th, 2005, 06:28 PM
timtos
Guest
 
Posts: n/a

re: IFilter


Ok - it is a Platform SDK function!
Sorry for posting here but thanks for the answer!

Greetings,
timtos.

"Thomas Matthews" <Thomas_MatthewsReallyHatesSpam@sbcglobal.net> wrote in message news:3F635946.5030905@sbcglobal.net...[color=blue]
> timtos wrote:[color=green]
> > I want to use the IFilter interface. For that I am using the method
> >
> > STDAPI LoadIFilter(WCHAR const * pwcsPath,
> > IUnknown * pUnkOuter,
> > void ** ppIUnk);
> >
> > and this is working fine if the file extension of the passed file is known.
> > Otherwise the null filter is returned what I donīt want. Files with unknown
> > extension should use the default plain text filter.
> >
> > But although setting the registry entries FilterFilesWithUnknownExtensions to 1,
> > LoadIFilter always returns null for these files.
> >
> > How is it possible to get a valid filter for these types?
> > Thanks A LOT for any kind of information!
> >
> > Greetings,
> > timtos.
> >
> >[/color]
>
> I couldn't find "IFilter" in the C++ FAQ.
> I couldn't find "IFilter" in the ARM C++ compiler.
> I couldn't find "IFilter" in the GNU C++ compiler.
> I couldn't find "IFilter" in the Borland C++ builder compiler.
>
> Hmm, probably a platform specific function and best discussed
> in a platform or compiler specific newsgroup. Please see the
> FAQ and Welcome.txt links below for more appropriate newsgroups.
>
> --
> Thomas Matthews
>
> C++ newsgroup welcome message:
> http://www.slack.net/~shiva/welcome.txt
> C++ Faq: http://www.parashift.com/c++-faq-lite
> C Faq: http://www.eskimo.com/~scs/c-faq/top.html
> alt.comp.lang.learn.c-c++ faq:
> http://www.raos.demon.uk/acllc-c++/faq.html
> Other sites:
> http://www.josuttis.com -- C++ STL Library book
> http://www.sgi.com/tech/stl -- Standard Template Library
>[/color]


  #4  
Old July 19th, 2005, 06:28 PM
Kevin Goodsell
Guest
 
Posts: n/a

re: IFilter


timtos wrote:
[color=blue]
> Ok - it is a Platform SDK function!
> Sorry for posting here but thanks for the answer!
>[/color]

Don't apologize for posting here. You are perfectly welcome (as is
anyone) to post here. But please, be careful about posting off-topic
messages. This applies to all newsgroups and discussion forums.

Also, please don't top-post when replying. Section 5 of the FAQ (a very
useful document) contains posting guidelines:

http://www.parashift.com/c++-faq-lite/

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing Service Server 2008 IIS 7.0 Adobe Ifilter =?Utf-8?B?SmVycnkgQw==?= answers 2 November 11th, 2008 02:35 PM
How to write custom IFilter using C# or VB.NET? ABC answers 0 November 17th, 2005 10:15 AM
IFilter & Stream Ilya Potekhin answers 0 November 16th, 2005 04:02 PM
problem in Ifilter implementation ashish answers 1 July 22nd, 2005 04:42 AM