TAPI.Initialize
---------------

Initializes the TAPI interface.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TAPI](component_TAPI.md) | [4.4](newinversion44.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "TAPI.Initialize" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Initializes the TAPI interface.  
Must be called once before any other TAPI function.  
This loads the TAPI DLLs and initializes the drivers. Depending on your driver, it may cause some initialization code to run, which can take a while, e.g. to find the base station for the phone system in the network.  
  
If your TAPI drivers are 32-bit only, it may or may not work in 64-bit.  
### See also

- [Java.Initialize](JavaInitialize.md)
- [OCR.Initialize](OCRInitialize.md)
- [TAPI.IsInitialized](TAPIIsInitialized.md)
- [Twain.Initialize](TwainInitialize.md)
- [WIA.Initialize](WIAInitialize.md)

### Release notes

- **Version 9.1**
    - Changed [TAPI.Initialize](http://www.mbsplugins.eu/TAPIInitialize.shtml) to return windows error code if initialization fails.

### Example Databases

- [Win Only/TAPI/Tapi](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/TAPI/Tapi.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 9.1pr2](https://www.mbsplugins.de/archive/2019-02-11/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [Use of TAPI functions in MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2018-12-17/Use_of_TAPI_functions_in_MBS_F/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2019, Seite 36](https://filemaker-magazin.de/neuigkeit/4034-Appetithappen-FMM_201901)

This function checks for a license.

Created 22nd October 2014 , last changed 23th June 2023

  
[TAPI.Hold](TAPIHold.md) - [TAPI.IsInitialized](TAPIIsInitialized.md)

[HTML Version](TAPIInitialize.shtml)