You are here: Available Utilities > A > ARCRET > Defining the Plug-in Functions

Defining the Plug-in Functions

Define the plug-in functions in the ArcRet control group as shown here:

< ArcRet >

  PlugInMod = NAME.DLL

  PlugInFunc = Function

  PlugInFunc = Function2

  PlugInFunc = Function3

  PlugInFunc = Function4

  PlugInFunc = Function5

The PlugInMod option defines the DLL file that contains the functions you want to use. The PlugInFunc option defines the function name of a plug-in compatible function.

You can define up to five plug-in functions which will be executed in the order they are defined in the INI file. If no functions are defined, the utility displays this message:

Warning: No plug-ins loaded.

Note The ARCRET utility will continue to run even if no plug-in functions are defined.

Plug-in functions must conform to a specific prototype and will be passed specific information about the files to process.

You can also use the DLL->FunctionName method for naming plug-ins. This lets you keep plug-ins in multiple DLL files. Here is an example:

PlugInFunc = DLL->FunctionName

If the option does not contain the “->” to indicate a DLL name is specified, the system assumes it should use the PlugInMod option to locate the DLL for this function.