getError()

Obtains a text error message from an errorcode.

VB declaration

Declare Function getError Lib "DFONT32.DLL" (ByRef ierror As Integer, ByVal text As String) As Integer

C declaration

int WINAPI getError(LPINT ierror, LPSTR text);

where ierror refers to the errorcode number whose explanation is required, and text is a buffer to receive the error message as a string. Note that text MUST be predefined to allow for 36 characters or an error may result.

 

 

More:

Error codes