DtvLong dal_exi_ini (ret, nam)

Exits DataView correctly from within the initialization phase and writes an error message into a message box..

Input Parameters Significance
DtvLong ret error return code
char *nam name of the erroneous module

Output Parameters Significance
none -

Return Code Significance
0 no error

You have to invoke this function in the DataView main module if any errors occur during the initialization phase and DataView cannot be started.

In case of error return codes different from 0 the constant error message "Error No. ret at Initialisation of nam, Please contact your Systemmanager !" will be output. In case of error return code = 0 only the text passed in nam will be output as error message.