Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1102397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:10:48+00:00 2026-05-17T01:10:48+00:00

I have an IFilter written in Delphi that I’m trying to get working under

  • 0

I have an IFilter written in Delphi that I’m trying to get working under 64 bit Windows 7 Desktop Search.

Due to it being developed in Delphi I can only compile this as a 32 Bit DLL.

To work around this I am trying to write a 64bit IFilter Dll in Visual C++ which internally uses my 32Bit IFilter Com Object using the DllSurogate technique outlined here.

I have got all this working OK under a test 64 bit console application. I can create an instance of my 64 bit wrapper, which internally creates the 32 bit IFilter object and delegates all calls to it. I can then retrieve the contents of my document.

The problem is when I register is with WDS the 64 bit wrapper can no longer create the 32 bit object. CoCreateInstance returns ‘Server Execution Failed’ (CO_E_SERVER_EXEC_FAILURE).

This is who I am creating the 32 bit object in side the 64 bit wrapper

result = CoCreateInstance(clsid, 0, CLSCTX_LOCAL_SERVER , IID_IFilter, (LPVOID*)&m_pFilter);

Any idea why this is happening. Is it a permissions limitation with IFilters in WDS?

Thanks for any help on this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:10:49+00:00Added an answer on May 17, 2026 at 1:10 am

    Yes it is. The IFilters run inside a hosting process named SearchFilterHost.exe. Since the filters can potentially open files with malicious content, the host runs with very restricted privileges. The ability to start a process would certainly not be included. No idea how to override this, or for that matter if you should even consider doing so. Googling “searchfilterhost.exe” brings up plenty of alarm bells. That’s gotta be painful news, sorry to be the bearer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this small script I'm trying to get working on my webpage, its
I am working on a utility that will have an interface for Filters with
I am trying to use Adobe IFilter to search PDF files. My code is
I am working on creating a custom IFilter for windows for our application. I
I have written a simple contact manager application that uses a UITableView to display
I am trying to get a counter that looks through a text and returns
I have just started working with crossfilter and d3.js ... I'm trying some snippets
have written this little class, which generates a UUID every time an object of
Have done quite a bit of searching for a guide (of any substance) for
Have a painfully simple blog Post creator, and I'm trying to check if the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.