Developer’s Guide

Table Of Contents
12-2 Developer’s Guide
The example plug-in files in Windows are located in the
Developer Extras\FileMaker, Inc\External FileMaker APIs\External
Function Plug-in\(Output)\x86 folder on the FileMaker Developer CD.
The plug-in example source code files are located in subfolders in the
FMExample plug-in folder. The following tables describe some of
the files.
Contents of the FMExample Plugin folder
File/Folder Description
FMExampleCW4.mcp CodeWarrior 4 project file
FMExampleCW6.mcp CodeWarrior 6 project file
FMExampleVC.dsp Microsoft Developer Studio project file
FMExampleVC.dsw Microsoft Developer Studio workspace file
(Output) folder• The (Output) folder contains one subfolder for each
of the possible target platforms. The compiled plug-
in is automatically placed in the appropriate
subfolder.
Contents of the EFP API folder
The EFP API folder contains the header and source files for
FileMaker application program interface (API) code. This code is
proprietary and non-redistributable. See
“Abiding by the license
agreement” on page 1-5 for details.
File/Folder Description
FMFlags.h Contains statements to set various compile-time flags.
FMExtern.h Contains the FileMaker API function definitions.
FMExtern.c Contains the FileMaker API functions source code.
Contents of the Resources folder
The Resources folder contains the resource files for Windows and
Mac platforms.
File/Folder Description
FMResource.h Contains the plug-in resources definitions.
FMExample.r• Contains the resources source code for Mac
platforms.
FMExample.rc• Contains the resources source code for Windows
platforms.
Contents of the Source folder
The Source folder contains the header and source files that make up
the example plug-in code.
File/Folder Description
TargetPrefix.Classic• Contains flag definitions for the Mac Classic
platform.
TargetPrefix.Carbon Contains flag definitions for the Mac OS X platform.
TargetPrefix.x86 Contains flag definitions for the Windows platform.
FMUtils.h Contains definitions for plug-in support functions.
FMUtils.c Contains source code for plug-in support functions.
FMPrefs.h• Contains definitions for plug-in configuration
functions.
FMPrefs.c• Contains source code for plug-in configuration
functions.
FMInitIdle.h• Contains definitions for plug-in initialization, idle,
and shut down functions.
FMInitIdle.c• Contains source code for plug-in initialization, idle,
and shut down functions.
FMMain.h Contains definitions for plug-in entry point functions.