12.3.104 SU_initialize() [hook]

Synopsis

     int
     SU_initialize(int argc, char *argv[])

In applications built with --userhook, SU_initialize() is called by the main program before SP_initialize(). Its purpose is to call interface functions, which must be called before SP_initialize(). It is not meaningful to specify this option if --main=user or --main=none is given.

Arguments

argc
Number of command-line arguments.
argv
The command-line arguments, should not be modified.

Return Value

Zero on success, and nonzero otherwise. If a non-zero value is returned, the application system exits with the return value as error code.

See Also

The Application Builder.


Send feedback on this subject.