Declaration
void (_stdcall *TraceComErrorFile)(HOBJ LnID, char *FileName, unsigned int MaxFileSize, char *Str);
Parameters
LnIdCommunication line ID.
FileNameFile name.
MaxFileSizeMaximal size of log file.
StrArray of character that is about to save into the log file.
Description
The procedure enables to save an error record into a log file that is defined by FileName parameter. The files are saved into Trace directory of an application.
Note: FileName can also contain directory names, e.g. "subdir1/mylog.txt" or "../anotherdir/mylog.txt".
Napíšte komentár