Developer’s Guide

Table Of Contents
Understanding external function plug-ins 10-3
Installing, enabling, and configuring the
example plug-in
External function plug-in files must be installed in the appropriate
folder and enabled in FileMaker Pro before they can be used. Some
plug-ins must also be configured by the user.
To install a plug-in:
1 On Windows machines, drag the plug-in file into the System folder
inside the FileMaker Pro folder. On Windows, the plug-in extension
must be .FMX.
1 On Mac OS machines, drag the plug-in file into the FileMaker
Extensions folder inside the FileMaker Pro folder.
1 On Mac OS X machines, drag the plug-in file into the FileMaker
Extentions folder inside the FileMaker Developer 5.5 folder.
To enable a plug-in:
1. In FileMaker Pro, choose Edit menu > Preferences > Application.
2. In the Application Preferences dialog box, click the Plug-ins tab.
3. Select the plug-in in the list.
A plug-in will not appear in the list if it’s not installed in the correct
folder inside the FileMaker Pro application folder.
To configure a plug-in:
1. Select the plug-in in the Application Preferences dialog box.
2. Click Configure.
The Configure button is only available when the plug-in is selected
and if the sixth character in the feature string is “Y”. See “Feature
string syntax” on page 10-8.
3. Click OK to close the configuration dialog box.
4. Click Done to close the Application Preferences dialog box.
Description of the FMExample plug-in’s
external functions
The FMExample plug-in provided in the Microsoft Visual C++ and
Code Warrior Pro example projects adds the following external
functions to FileMaker Pro.
Select a plug-in to enable it
Plug-in
description text is
defined in a
resource string.
See “Required
resource files” on
page 10-7.
Function’s name
and parameter Description of external function
Xpl-Version, “ ” This function returns the version of the plug-in. It has
no parameters.
Note A version function similar to the one provided
in the example plug-in is required for every
FileMaker Pro plug-in.
Xpl-NumToChar, integer This function returns the ASCII character that
corresponds to the integer (1-255) passed to it.
Xpl-CharToNum,
character
This function returns the ASCII integer value of the
character passed to it.