Developer’s Guide

Table Of Contents
Chapter 10
Writing external function plug-ins
If you are a C or C++ programmer and familiar with advanced
calculations in FileMaker Pro, you can create external function plug-
ins that extend the feature set of FileMaker Pro — including
calculation formulas that take advantage of recursion and looping, or
that hook into other programming interfaces. Users can enable your
plug-ins in FileMaker Pro and use your external functions in their
calculation fields and scripts.
FileMaker Pro plug-ins must be registered with FileMaker, Inc. The
FileMaker, Inc. web site includes a plug-in registration form and a
database of all the registered plug-ins. You can browse this database
to get an idea of what kind of plug-ins already exist and use it to list
your own plug-ins.
About the plug-in examples and templates
FileMaker Developer provides examples and template files that
illustrate the API (application programming interface) for creating
FileMaker Pro external function plug-ins. The FileMaker Pro
external function API is a set of standards your plug-in must adhere
to in order to be used by FileMaker Pro.
The plug-in examples include two projects for use with the Microsoft
Visual C++ (Windows) and Metrowerks Code Warrior Pro
(Windows and Mac OS) development environments.
The template files comprise a shell project for creating a plug-in with
two functions typically used by programmers. The set of example
files and the compiled Full Example plug-in were designed to
illustrate what a complete FileMaker Pro plug-in looks like.
See “Installing the FileMaker Developer software package” on
page 1-2 for information on installing the examples and templates.
The example projects are located in the Full Example folder:
1 FileMaker Developer 5 > External FileMaker APIs > External Function
Plug-in > Full Example > Code Warrior Pro (Mac OS and Windows)
1 FileMaker Developer 5 > External FileMaker APIs > External Function
Plug-in > Full Example > Microsoft Visual C++ (Mac OS)
The template files are located in the Template folder:
1 FileMaker Developer 5 > External FileMaker APIs > External Function
Plug-in > Template > Code Warrior Pro (Mac OS and Windows)
1 FileMaker Developer 5 > External FileMaker APIs > External Function
Plug-in > Template > Microsoft Visual C++ (Windows)
You can examine the source code of these examples and templates in
any text editor.