473,830 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IFilter

I want to use the IFilter interface. For that I am using the method

STDAPI LoadIFilter(WCH AR 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 FilterFilesWith UnknownExtensio ns 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.
Jul 19 '05 #1
3 4390
timtos wrote:
I want to use the IFilter interface. For that I am using the method

STDAPI LoadIFilter(WCH AR 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 FilterFilesWith UnknownExtensio ns 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.


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.l earn.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

Jul 19 '05 #2
Ok - it is a Platform SDK function!
Sorry for posting here but thanks for the answer!

Greetings,
timtos.

"Thomas Matthews" <Th************ *************** *@sbcglobal.net > wrote in message news:3F******** ******@sbcgloba l.net...
timtos wrote:
I want to use the IFilter interface. For that I am using the method

STDAPI LoadIFilter(WCH AR 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 FilterFilesWith UnknownExtensio ns 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.


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.l earn.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

Jul 19 '05 #3
timtos wrote:
Ok - it is a Platform SDK function!
Sorry for posting here but thanks for the answer!


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.

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2690
by: Peter Sparago | last post by:
(Sorry in advance for the long post.) Hi, I'm having a great deal of difficulty buiding a Python COM extension. I am using the MSHTML ActiveX control in my application but I need to interact with and implement some Custom COM interfaces. All is well with the basic operation of the control using Python. Basically, I want to take over the right-click (context) menu from
1
3971
by: ashish | last post by:
We are working on development of an IFilter component for Jpeg and tiff files.First ever test resulted in following error. We are using ifilttst.exe(which comes with windows 2003 resource kit.) to test the filter. Source code snippet has been attached at the end of message. We are stuck at this point for the last 5 days and still unable to resolve it. 380.396 : +TEST+INFO **** Input file : C:\Program Files\Windows Resource...
0
1448
by: Ilya Potekhin | last post by:
Hi all, I need load object in IFilter from stream in .NET. For load object from file I use UCOMIPersistFile but for stream I can't find similar object. I think that I must use IPersistStream but I don't know how and I can't find this in inet :( Can you help me? Thanks
0
1333
by: ABC | last post by:
How to write custom IFilter using C# or VB.NET? What is the requirements? Is there any examples? Thanks
4
3524
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I click a button on a pop-up window the javascript for that button click does a 'button.form.submit'. On the Server side there is a Button click event for this button, but for some reason it no longer fires. It worked fine before and everything...
1
1321
by: Stuart | last post by:
Has any one come across any code using the ifilter interface to make file independant viewers.
37
19217
by: bahoo | last post by:
Hi, I have a list like and as output I want If I myList.remove('0024') then only the first instance of '0024' is removed.
10
1356
by: Dick Moores | last post by:
I'm still trying to understand classes. I've made some progress, I think, but I don't understand how to use this one. How do I call it, or any of its functions? It's from the Cookbook, at <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/523048>. Thanks, Dick Moores =====================================================
2
8112
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts: http://kbalertz.com/954822/install-configure-Indexing-Service-Windows-Server-computer.aspx http://kbalertz.com/820105/Application-Query-Indexing-Service-Catalog-Using-Visual-Basic.aspx I can search some files .xls .doc and others but It will not find anything in .pdf
0
10770
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10524
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10199
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9312
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6948
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5616
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4409
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3074
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.