LibMainΒΆ

A UniScript library (.ICL) can have one function with the name LibMain. This function will be called directly after loading the library.

bool = LibMain()

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Comment

The function can be used to initialize global variables, install user menus, loading DLLs, register DLL functions with the help of RegisterFunction etc.

Inside LibMain the function loadiclib should not be invoked.

id-1730351