From InterBase

Go Up to API Function Reference

Returns the text of an error code.


 unsigned short isc_get_msg(short msg_no, char *msg, 
 unsigned short msg_len)
Parameter Type Description



A message number returned by one of the other isc_license_*() functions


char *

  • A character buffer for the message that corresponds to <msg_no>
  • Must be allocated by the programmer
  • Recommended length is ISC_LICENSE_MAX_MESSAGE_LEN



The length of <msg>


When passed an error code from one of the other four functions in the License API, isc_license_get_msg() returns the text of the corresponding error message in the <msg> buffer.

Return value

isc_license_get_msg() returns zero if it succeeds. Otherwise, it returns the length that <msg> must have in order to contains the message text.

Advance To: