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

AVEVA™ Batch Management

Build the Stub HistHook API

  • Last UpdatedOct 29, 2024
  • 1 minute read

You must do the following to build and install the HistHook API:

Note: Before installing the DLL, make sure of the following:
1. Shut down all the AVEVA Batch Management applications. This includes manually stopping the HistQReader service on the Batch History Server.
2. Back up the original HistHook.dll.

To install the DLL

  1. Copy the sample project from the CD to a system with Visual Studio.

  2. Load the project solution.

    Note: If you are using VS 2008 or later, the project solution will be converted accordingly.

  3. If you want to build the commented-out sample code, remove the comments for the following functions in the devhisthook.c file:

    • HistHookBatchId

    • HistHookBatchDetail

    • HistHookPhaseInstructionInit

    • HistHookPhaseInstruction

    • HistHookReportTriggerEndOfBatch

      Note: Also, uncomment the other supporting definitions and functions in the file.

  4. Build the sample code.

    Note: Select the Release build configuration if you want to copy the DLL to a non-development system.

  5. Save the DLL into the AVEVA Batch Management Bin directory on the Batch Server, Development Client, Runtime Client, and History Server.

    Note: The default path of the Bin folder is C:\Program Files\AVEVA\Batch Management\Bin.

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