Server Reference Guide : A. Error Codes and Messages : OpenROAD Server Errors : Parameter Descriptor Errors
 
Share this page          
Parameter Descriptor Errors
The following error codes report problems found in the ParamDesc input structure passed to the Call4GL method. When using the CallProc method, the PDO and RSO create the ParamDesc automatically and send it to Call4GL internally, but the errors relating to parameter mismatches are still relevant. For a full description of the ParamDesc structure, see ParamDesc and Params Structures.
The low-order byte of these error codes indicates whether the error relates to the ByValParamDesc (0x00) or the ByRefParamDesc (0x01):
HRESULT
(if ByVal)
HRESULT
(if ByRef)
Description
0x80043000
0x80043001
ParamDesc contains a descriptor that is not an array of VARIANT.
0x80043100
0x80043101
ParamDesc contains a descriptor that is not two-dimensional.
0x80043200
0x80043201
ParamDesc contains a descriptor that has a non-zero lower boundary for the rows dimension.
0x80043300
0x80043301
ParamDesc contains a descriptor that has a non-zero lower boundary for the columns dimension.
0x80043400
0x80043401
ParamDesc contains a descriptor that does not contain the required two rows.
0x80043500
0x80043501
ParamDesc contains a descriptor that has no columns.
0x80043600
0x80043601
Parameter name or attribute name is not a valid BSTR or could not be converted to ASCII.
0x80043700
0x80043701
Parameter name or attribute name is longer than 32 characters.
0x80043800
0x80043801
Parameter name was not found in the 4GL procedure signature (or the attribute name was not found in the corresponding nested user class).
0x80043900
0x80043901
Parameter name or attribute name was used twice at the same level. Mapping two data values to the same 4GL parameter is not allowed because it would be ambiguous.
0x80043A00
0x80043A01
Unsupported 4GL data type. The data type of the corresponding parameter in the 4GL procedure signature is not supported by the OpenROAD Server interface.
0x80043B00
0x80043B01
ParamDesc is missing the nested descriptor needed to map an attribute that is a user class (or array of user class) in the 4GL signature.
0x80043C00
0x80043C01
ParamDesc includes a user class descriptor for an attribute that is not a user class (or array of user class) in the 4GL signature.
0x80043D00
0x80043D01
ParamDesc safearray structure could not be accessed (probably malformed).