General

 

Every NotesToPaper function sends a negative return value on error. This return value corresponds with an error number that can be interpreted by use of the table in "error codes". In addition error codes can be translated to plain text which can in turn be presented to the user. The translation is performed by the function NTPGetErrrorText. The return value for this function will be the plain text corresponding to the appropriate error number. As an exception, contrary to other functions, the return value is the text, to allow for easier handling.

 

Example: MessageBox ( NTPGetErrorText ( nError ) )