Informix Error -50733: GetProperty( ) failed. Cannot convert OCX value to the given property type-returning NULL.
Cause and resolution
GetProperty( ) failed. Cannot convert OCX value to the given property type-returning NULL.
The function returns NULL if the value of the OCX property cannot be converted to the data type that was specified in setPropertyType( ), or if the data type of the OCX property is not supported.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50733 fires from Informix NewEra's OCX/VCL integration layer — per the archived official text, the function returns NULL if the value of the OCX property cannot be converted to the data type that was specified in setPropertyType( ), or if the data type of the OCX property is not supported.
- GetProperty( ) failed. Cannot convert OCX value to the given property type-returning NULL, per the archived official text — the direct, named condition.
Solutions / Resolution
- Follow the specific corrective action named in the title/official text — no further detail is given beyond that.
Examples
N/A
No specific triggering statement is documented beyond the archived official text's own description of this OCX/VCL condition.
Diagnostic Checks
- Check the value/argument named in the archived official text against what the function actually requires — no further diagnostic detail is given beyond that.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50733 in this set yet.
GetProperty( ) failed. Cannot convert OCX value to the given property type-returning NULL. — per the archived official text, check the value/argument named against what the function requires.