Progress
Open Client
Developer’s Guide
Handling Errors
Proxies return errors to an ActiveX client as an HRESULT code and an error message string. The HRESULT identifies the type of error. Each value can be used in conjunction with more than one error message.
The default behavior for VB is to put up an error message based on this information. It also provides a way for you to suppress the error (using
On Error
) and access the error code and message instead. There is no programmatic way to obtain the Progress error message number associated with the message. However, the error number is included in the message string.If your client is written in C++, you can obtain the error message from the
EXCEPTINFO
structure in the standard manner.Table 7–6 lists the facility code for each HRESULT.
Table 7–6: HRESULT Values For ActiveX Proxies HRESULT Value1 Description0x80040200
(-2147220992 decimal) Used for miscellaneous client-side errors0x80040201
(-2147220991 decimal) Error connecting to AppServer0x80040202
(-2147220990 decimal) 4GL ERROR condition0x80040203
(-2147220989 decimal) 4GL STOP condition0x80040204
(-2147220988 decimal) 4GL QUIT condition0x80040205
(-2147220987 decimal) AppServer is busy servicing another request0x80040206
(-2147220986 decimal) Output result set error, for example, trying to get a column value out of column order or trying to make an illegal type conversion0x80040207
(-2147220985 decimal) An unexpected system error that indicates a Progress bug or an unusual environmental problem (such as running out of disk space)
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |