User Guide

CCFXRequest class 1071
CCFXRequest::Write
Syntax
void CCFXRequest::Write(LPCSTR lpszOutput)
Description
Writes text output back to the user.
Parameters
Example
The following example creates a buffer to hold an output string, fills the buffer with data, and
writes the output back to the user:
CHAR buffOutput[1024] ;
wsprintf( buffOutput, "The destination is: %s",
pRequest->GetAttribute("DESTINATION") ) ;
pRequest->Write( buffOutput ) ;
CCFXRequest::WriteDebug
Syntax
void CCFXRequest::WriteDebug(LPCSTR lpszOutput)
Description
Writes text output into the debug stream. The text is only displayed to the end-user if the tag
contains the
Debug attribute. (For more information, see CCFXRequest::Debug.)
Parameters
Example
The following example checks whether the Debug attribute is present; if so, it writes a brief debug
message:
if ( pRequest->Debug() )
{
pRequest->WriteDebug( "Top secret debug info" ) ;
}
Parameter Description
lpszOutput Text to output
Parameter Description
lpszOutput Text to output