File Content Extraction 26.2
Filter SDK C Programming Guide

# Run Filter In Process

By default, Filter runs independently from the calling application process. This is called out-of-process filtering. Out-of-process filtering protects the stability of the calling application in the rare case when a malformed document causes Filter to fail. You can configure Filter to run in the same process as the calling application. This is called in-process filtering. However, OpenText strongly recommends that you run Filter out-of-process whenever possible.

To run Filter in process

- In the C API, set one of the following flags in the `dwFlags` argument of the KVFilterInitOptions structure that you pass to fpInit().

  `KVF_DETECT_INPROCESS` | Enables in-process file format detection.
  `KVF_INPROCESS` | Enables in-process filtering, extraction, and file format detection.

- In the `formats.ini` configuration file, set the following parameters in the `[FilterSDK_Config]` section. (This is an alternative approach - you do not need to do this if you have configured this feature through the API).

  `default_inprocess` | To perform filtering, extraction, and file format detection in-process, set this parameter to `1`. The default value is `0`.
  `default_detect_inprocess` | This parameter can be used to override the value of `default_inprocess` for file format detection. To perform file format detection in-process, but run filtering out-of-process, set this parameter to `1` and `default_inprocess` to `0`. The default value is the value of `default_inprocess`.

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: Run Filter In Process