Declaration
void (_stdcall * TraceBufferASCIIFile)(HOBJ LnID, char *FileName, unsigned int MaxFileSize, void *Data, unsigned int Len);
Parameters
LnIdLine ID.
FileNameFile name.
MaxFileSizeMaximal size of log file.
DataPointer to a buffer with data to be saved.
LenNumber of bytes to be saved.
Description
This procedure enables to save the received or sent data as ASCII code into the log file that is defined by FileName parameter. The files are saved to the 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ť .