informix
INFORMIX-ESQL/C Programmer's Manual
Exception Handling

Displaying Error Text in a Windows Environment

Your ESQL/C application can use the 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()


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved