Creating Registrar Scripts
A registrar script provides data-driven, rather than API-driven, access to the system registry. Data-driven access is typically more efficient since it takes only one or two lines in a script to add a key to the registry.
The ATL Control Wizard automatically generates a registrar script for your COM server. You can find this script in the .rgs file associated with your object.
The ATL Registrar's Script Engine processes your registrar script at run time. ATL automatically invokes the Script Engine during server setup.
This article covers the following topics related to the registrar scripts:
- Understanding Backus Nauer Form (BNF) Syntax
- Understanding Parse Trees
- Registry Scripting Examples
- Using Replaceable Parameters (The Registrar's Preprocessor)
- Invoking Scripts