NewEra Upgrade from 2.x to 3.x
Posted in 1999
Topics: Installation, Setup & Upgrades, Migration, Import/Export & Data Conversion
I'm upgrading NewEra 2.20 applications to NewEra 3.11.TC1 and I have some problems relating to this migrations. The new version of C is 32 bit Visual C++ 5.0, the previous version was 16 bit Visual C++ 1.51 I have already revised the sources code with the new issues involved in migrating NewEra 2.x to NewEra 3.x as described in the Appendix A "Upgrating from a Previous Release" of "Installation and Configuration Guide" but some programs aren't successfully recompiled. The following errors occur. Could any one help me? Thanks in advance Cristina Poggiolini Exis Pisa-Italy 1) error -4076: CLASS of CAST object must be a base class specified as right argument. I get this error only for the statements that used ixLabel as right argument of CAST operator. The same statementes that used ixSuperFiled, ixTextBox, ixValue as right argument are succesfully compiled. For example I get the error in the following lines: CALL (item CAST ixLabel).setText(value:_output.getVal(colNum: outNum).getValueStr()) or IF (b_obj CAST ixSuperField IS NULL)THEN ... where item is an ixObject variable and b_obj is an ixVisualObject parameter. but not in the following: CALL (item CAST ixSuperField).setText(value:_output.getVal(colNum: outNum).getValueStr()) CALL (item CAST ixTextBox).setText(text:_output.getVal(colNum: outNum).getValueStr()) CALL (item CAST ixValue).setValueStr(_output.getVal(colNum: outNum).getValueStr()) IF (b_obj CAST ixSuperField IS NULL) IF (b_obj CAST ixTextBox IS NULL) I realise that no additional changes have been made to the ixLabel class derivation so the hierarchy (ixObject, ixVisualObect, ixLabel) should be the same for the two NewEra versions. I don't undestrand why this code doesn't work on NewEra V3.11 _____________________________________________________________________ 2) error -4044: Member isOriginal not defined in class ixSuperTable. It seems that ixSuperTable members aren't recognised into the following lines: WHEN ixSuperTable::isOriginal or WHEN ixSuperTable::isNew this class declarations is into the file c: \\informix\\incl\\fgl\\ixsuptbl.4gh and I compile the project with -Hc: \\informix\\incl\\fgl. _____________________________________________________________________ 3) error -4475: "upshift" cannot be used as both a function (or report) name and an identifier name. This is the handler where this error occurs: HANDLER ixTextBox::reMtccreWN_toFromFlagTB_keyPress(key INTEGER) RETURNING VOID CALL setText(UPSHIFT(getText())) END HANDLER -- ixTextBox::reMtccreWN_toFromFlagTB_keyPress Sent via Deja.com http://www.deja.com/ Before you buy.