Function used to send text to the text window and reports to the trace file.
Syntax
int Error_Fct(
HWND hwnd,
int code,
char format[], ...
) ;
Parameters
hwnd
a pointer to the window where the text is to be sent. The external variable "hwnd" can be used.
code
the text reporting code. The define values "ERROR_CODE_REPORT" is used to send text to the interface. You can also use "ERROR_CODE_WARNING" for warning messages. The "ERROR_CODE_TRACE_x" codes are used for the different trace level reporting.
format, ...
"format" and the following variable number of arguments are used to create your text string. they use the same syntax as the "printf" function.
Return value
This function return "0" if an error occurred.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also