Informix Error -50749: Invalid parameters for the ixVariant constructor. Cannot construct ixVariant object.
Cause and resolution
Invalid parameters for the ixVariant constructor. Cannot construct ixVariant object.
The constructor of the ixVariant class takes either a valid ixValue object as its first parameter and NULL as its second parameter, or NULL as its first parameter and a valid ixVector object as its second parameter. Otherwise, the ixVariant object is not created. Check the parameters.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50749 fires from Informix NewEra's OCX/VCL integration layer — per the archived official text, the constructor of the ixVariant class takes either a valid ixValue object as its first parameter and NULL as its second parameter, or NULL as its first parameter and a valid ixVector object as its second parameter. Otherwise, the ixVariant object is not created. Check the parameters.
- Invalid parameters for the ixVariant constructor. Cannot construct ixVariant object, 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 -50749 in this set yet.
Invalid parameters for the ixVariant constructor. Cannot construct ixVariant object. — per the archived official text, check the value/argument named against what the function requires.