Developer’s Guide

Table Of Contents
10-2
Developer’s Guide
Contents of the Template folder
The following tables describe the template files in the Template
folders for the Microsoft Visual C++ and Code Warrior Pro projects.
Microsoft Visual C++
template files Description
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.
FMTemplate.c Contains required source code for a FileMaker Pro
plug-in — defines the main entry point function for
a plug-in.
FMTemplate.mak (Win) Make file (Windows only).
FMTemplate.mdp Project file.
FMTemplate.rc Resource file — includes text strings, icons, dialog
boxes, windows, etc.
Code Warrior Pro
template files Description
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.
FMTemplate.c Contains required source code for a FileMaker Pro
plug-in — defines the main entry point functions for
plug-ins compiled in the various Mac OS and
Windows environments (Windows, Power PC, 68K).
FMTemplate.mcp Project file.
FMTemplate.rc (Win)
FMTemplate.r (Mac)
Resource file — includes text strings, icons, dialog
boxes, windows, etc.
All resource ID values must be greater than or equal
to 22000 and less than 24000 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 24000 to avoid conflicting
with resources in the FileMaker Pro application.