Informix Error -50711: Invalid value for OCXClassID.
Cause and resolution
Invalid value for OCXClassID.
During the construction of the OCX, the class ID that was passed in was invalid or NULL.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50711 is raised by the Window Painter GUI builder library in the Window Painter GUI builder library — per the official guidance:
During the construction of the OCX, the class ID that was passed in was invalid or NULL.
- Invalid value for OCXClassID, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that this condition flags here, against the constraint the official guidance describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50711 in this set yet.
Invalid value for OCXClassID.