Declaration
void (_stdcall * TraceComTextFile)(HOBJ LnID, char *FileName, unsigned int MaxFileSize, char *Str);
Parameters
LnIdCommunication line ID.
FileNameFile name.
MaxFileSizeMaximal size of log file in MB.
StrArray of characters that will be saved into log file.
Description
The procedure enables to save any record to the 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".

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .