Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Batch Management

Enable the COM-Based Batch Function Interface

  • Last UpdatedOct 30, 2024
  • 2 minute read

To use the COM-based batch function interface, complete the following steps. These steps require that you have properly installed the batch control system. This procedure uses Visual C# as the selected programming environment for all examples.

To enable the COM-based batch function interface

  1. Start the COM-based programming environment of choice and begin a project to create an in-process server. In Visual C#, the project must be created as a class library.

  2. Enable the batch function interface type libraries in the programming environment. The type libraries are:

    • BatchObjSrv 1.0 Type Library

    • BatchVBServer 1.0 Type Library

      Each library file is loaded during batch installation.

      In Visual C#, the type libraries are enabled in the References dialog box.

  3. Create the DLL using the interface exposed by the type libraries.

    For more information on creating the batch function interface server, see "Creating the Server".

  4. Assign and configure the COM Interface application parameter for Batch Manager in the Environment Editor dialog box. The value assigned to this parameter corresponds to the project and class names defined in the programming environment. In the dialog boxes shown in the following figures, the project name is BatchFunction and the class name is Hooks. You must separate these names with a period (.) when you enter them as the application parameter value. The DLL in this example is named BatchFunction.dll.

    Note: The value of the COM Interface parameter name is case-sensitive. The case of the value field should match the case of the project defined in the COM-based programming environment.

TitleResults for “How to create a CRG?”Also Available in