FM.InitMessageFilter
--------------------

Initializes COM message filter.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FM](component_FM.md) | [8.3](newinversion83.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "FM.InitMessageFilter" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Initializes COM message filter.  
If a COM message can't be handled right away, COM may show a standard dialog to retry, switch task or cancel, which may bring your app in an endless dialog series. MBS Plugin implements a message filter which delays messages till the current processing is done and avoids the dialog. So long running options can perform well.  
  
Call this once if you see "server busy" error dialogs from COM subsystem on Windows.  
### See also

- [WIA.Initialize](WIAInitialize.md)

### Release notes

- **Version 10.3**
    - Changed [WIA.ImageDialog](https://www.mbsplugins.eu/WIAImageDialog.shtml) and [WIA.SelectDeviceDialog](https://www.mbsplugins.eu/WIASelectDeviceDialog.shtml) to call [FM.InitMessageFilter](https://www.mbsplugins.eu/FMInitMessageFilter.shtml) internally to avoid running into COM error dialogs.
- **Version 8.3**
    - Added [FM.InitMessageFilter](http://www.mbsplugins.eu/FMInitMessageFilter.shtml) function to block COM retry dialogs.

### Blog Entries

- [Putting an end to the Server Busy Dialog in FileMaker](https://www.mbsplugins.de/archive/2026-02-03/Putting_an_end_to_the_Server_B/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.3pr1](https://www.mbsplugins.de/archive/2020-06-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 8.3](https://www.mbsplugins.de/archive/2018-07-17/Neues_MBS_FileMaker_Plugin_83/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.3 released](https://www.mbsplugins.de/archive/2018-07-17/MBS_FileMaker_Plugin_83_releas/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th June 2018 , last changed 15th May 2019

  
[FM.GetSQLBatchMode](FMGetSQLBatchMode.md) - [FM.InsertOrUpdateRecord](FMInsertOrUpdateRecord.md)

[HTML Version](FMInitMessageFilter.shtml)