DtvLong dal_mes_fnc (fnc)

Sets an application-specific message-trap function.

Input Parameters Significance
int (*func)() Pointer to message-trap function

Output Parameters Significance
none -

Return Code Significance
0 all ok

With the help of a message-trap function e.g. DataView system messages can be evaluated and replaced by individual messages

Prior to the message output the passed function is called with the following parameters:

If the passed function returns a return code = 0, the default message is output. If the return code is different from zero, the default message is not output. In this case dal_mes_wri can be used to write an individual message into the message window.