User Guide

Chapter 18: Building Custom CFAPI Tags 291
Distribution
If you are distributing a custom tag, you may want to automatically register the custom
tag during the setup process by writing the registration entries directly into the
Registry. The location, key, and value names to write are as follows:
You can create a file containing this information by using the Regedit utility to export
the registry entry from a machine on which the custom tag is already installed.
On Windows NT, use Regedit to import custom tags to the registry. The ColdFusion
regedit utility (in the bin) performs the same function on UNIX.
Registration Entries for C++ CFXs
Entry Value
Hive
HKEY_LOCAL_MACHINE
Key
SOFTWARE\Allaire\ColdFusion\CurrentVersion\Cust
omTags\
TagName
LibraryPath
The full path to the DLL (Windows NT) or shared object
(Solaris) that implements the custom tag.
ProcedureName
The name of the procedure to call for processing tag requests.
Description
A description of the tag’s functionality for browsing by end
users.
CacheLibrary
Indicates whether to keep the DLL or shared object loaded in
RAM (1 or 0).
Registration Entries for Java CFXs
Entry Value
Hive
HKEY_LOCAL_MACHINE
Key
SOFTWARE\Allaire\ColdFusion\CurrentVersion\CustomTags
\
TagName
ClassName
The name of the Class to call.
Description
A description of the tag’s functionality for browsing by end users.