Using the Tag Wizard to create CFXs in C++

On Windows NT, you can get a start in developing CFXs by using the ColdFusion Tag Wizard. To use the wizard, the CFXAPI Tag Development Kit must be installed (it is by default), and the setup routine must detect Microsoft Visual C++ on the system.

The wizard generates a DLL file with a basic tag structure containing a single procedure. By modifying and testing this tag, you can quickly learn how to work within the API.

Note To build a CFX tag:
  1. In Visual C++, select File > New, then click the Projects tab.
  2. Select ColdFusion Tag Wizard and enter a tag name of the form CFX_MyNewTag in the Project name box. Click OK to open the wizard.
  3. Enter the new tag name as the name of the custom tag.
  4. You can optionally add text that will appear as comments in the tag's code.
  5. Select an MFC usage option and click Finish to generate the code.
  6. In Visual C++, select Build > Build CFX_MyNewTag to create the DLL file.

The next step is to make ColdFusion aware of the new tag by registering it. See "Registering CFXs".