Developer’s Guide

Table Of Contents
Writing external function plug-ins
10-3
Contents of the Full Example folder
The following tables describe the example files in the Full Example
folders for the Microsoft Visual C++ and Code Warrior Pro projects.
Microsoft Visual C++
example files Description
Example.fmx Full Example plug-in — compiled version of the
Microsoft Visual C++ example files for Windows
machines.
FMExample.c Contains the source code for the Full Example plug-
in. Modified version of the FMTemplate.c file.
FMExample.h Header file for FMExample.c file.
FMExample.ico Contains the file icon for the compiled Full
Example plug-in.
FMExample.mak Make file (Windows)
FMExample.mdp Project file — Modified version of the
FMTemplate.mdp file.
FMExample.rc Resource file — includes text strings, icons, dialog
boxes, windows, etc. Modified version of the
FMTemplate.rc file.
FMExtern.c Contains implementation code for the API function
and type definitions.
This file is required for FileMaker Pro plug-in
projects.
FMExtern.h Header file that defines API function and type
definitions.
This file is required for FileMaker Pro plug-in
projects.
FMFlags.h Contains compiler flags so that a project can be
used in both Microsoft Visual C++ and Code
Warrior Pro to produce Windows and Mac OS
versions of your plug-in.
This file is required for FileMaker Pro plug-in
projects.
Resource.h Header file for the FMExample.rc resource file.
Code Warrior Pro
example files Description
Example Plug-In (Mac) Full Example plug-in — Compiled version of the
Code Warrior Pro example files for Mac OS
machines
Example.fmx (Win) Full Example plug-in — Compiled version of the
Code Warrior Pro example files for Windows
machines
FMExample.c Contains the source code for the Full Example
plug-in. Modified version of the FMTemplate.c
file.
FMExample.h Header file for FMExample.c file.
FMExample.ico Contains the file icon for the compiled Full
Example plug-in.
FMExample.mcp Project file — Modified version of the
FMTemplate.mcp file.
FMExample.rc (Win)
FMExample.r (Mac)
Resource file — includes text strings, icons, dialog
boxes, windows, etc. Modified version of the
FMTemplate.r and FMTemplate.rc files.
All resource ID values must be greater than or equal
to 22000 and less than 24999 to avoid conflicting
with resources in the FileMaker Pro application.
See also “Avoiding potential Mac OS
resource conflicts” on page 10-13.
FMTemplate.rsrc (Mac) Compiled version of the resource file for Mac OS
plug-ins written on Windows machines.
All resource ID values must be greater than or equal
to 22000 and less than 24999 to avoid conflicting
with resources in the FileMaker Pro application.
FMExtern.c Contains implementation code for the API function
and type definitions.
This file is required for FileMaker Pro plug-in
projects.