SYSprintError2

Top  Previous  Next

Are economical to an announcement to an object.

The function spends an announcement either in the issue window or as a dialogue box which contains an error text beside the object data. With the help of this announcement the object can be found. Two description texts are used.

Parametre

obj (PANY) [IN]

Act of the object or element whose data should be indicated.

msgart (int) [IN]

Classification of the announcement as a warning, mistake... One of the constants MSG_ART_ *, especially MSG_ART_FEHLER, MSG_ART_WARNUNG, MSG_ART_HINT.

file (const char *) [IN]

The file in which this mistake was generated.

line (int) [IN]

Line in the file in which the mistake was generated.

error (const char *) [IN]

Description of the mistake.

error2 (const char *) [IN]

Other description of the mistake.

wrn (const char *) [IN]

Text for the announcement box, e.g., "warning" or "mistake"

Result

---

Remark

The parametres file and line must not contain real information to file and line. They are used to switch off if necessary successive announcements. It can be generated about these parametres also another grouping.

Declaration

#include "system.h"

 

void DLLENTRY SYSprintError2 (

PANY obj,

int msgart,

const char * file,

int line,

const char * error,

const char * error2,

const char * wrn

);