vuDiagnosticsSetFile()
Purpose
Sets the diagnostic log file path used by vuDiagnosticsEnable() and by protocol logging.
Export name
Clarion prototype (Inside Global MAP)
- vuDiagnosticsSetFile(*CSTRING xFileName),SIGNED,PROC,PASCAL,RAW,NAME(‘vuDiagnosticsSetFile’)
Return value
- Returns 1 when the operation succeeds, otherwise 0. Use vuMailLastError() for more detail when needed.
Notes
- Pass the address of a CSTRING buffer containing the full path.
- Setting the file path does not automatically enable diagnostics.