Display error text (Windows)

Your Informix® ESQL/C application can use the HCL Informix® ERRMESS.HLP file to display text that describes an error and its corrective action.

You can call the Windows API WinHelp() with the following WinHelp parameters.
WinHelp parameter
Data
HELP_CONTEXT
Error number from SQLCODE or sqlca.sqlcode
HELP_CONTEXTPOPUP
Error number from SQLCODE or sqlca.sqlcode
HELP_KEY
Pointer to string that contains error number from SQLCODE or sqlca.sqlcode and is converted to ASCII with sprintf() or wsprintf()
HELP_PARTIALKEY
Pointer to string that contains error number from SQLCODE or sqlca.sqlcode and is converted to ASCII with sprintf() or wsprintf()