kaveLoad

Loads SDK modules into the system memory.

This function is declared in kave8_dll_loader.h and implemented in kave8_dll_loader.cpp.

The function is not used for Linux-based solutions.

Syntax

BOOL kaveLoad (

LPCTSTR szPath);

Parameters

The kaveLoad function has the following parameters.

kaveLoad function parameters

Name

Type

Description

szPath

in

The path to the folder with the kave8.dll file.

This path can be specified in the following ways:

  • As a full UNC path to the folder with the kave8.dll file.
  • As a path relative to the location of the application executable file.
  • NULL if the kave8.dll file is located in the same directory as the application executable file.

Return value

If the SDK is successfully loaded, the return value is TRUE; otherwise the return value is FALSE. For more information about errors, use the GetLastError function.

Two different success codes are used to indicate successful start of a specific monitor depending on the situation. When a monitor is loaded for the first time, the S_OK (0x0) success code is returned to indicate that the monitor has been successfully loaded into memory and is ready for use. If the monitor remains in memory, subsequent successful starts of the monitor are indicated with the S_FALSE (0x1) success code returned. The S_FALSE code indicates that the monitor is already loaded into memory and the started instance will be reused. Invoke kaveUnload to unload the monitor from memory.

See also

kaveUnload

Page top