1 Reply Latest reply on Sep 15, 2003 10:28 PM by 58568

    Wrong parameter value in OO4O 9.2.0.4.5

    32138
      Hi!

      I upgraded OO4O from vesion 9.2.0.4.4 to 9.2.0.4.5 . But now I have problems with parameter values. Following code gives completely different results in different versions. This code should write a='b' to messagebox, but in 9.2.0.4.5 it writes a='a' !!!???

      odb.GetParameters().Add("a", "b", OPARAMETER_INVAR, OTYPE_VARCHAR2, NULL).IsOpen();
      strMess.Format("%s='%s'", odb.GetParameters().GetParameter("a").GetName(), (CString)odb.GetParameters().GetParameter("a"));
      MessageBox(strMess);

      What I'm doing wrong?
      I uninstalled old version of OO4O before installing new as recommended and copied files oracl.h, obound.h, oraclm32.lib and oraclm32.dll to my project.
      I'm using VC++ 6.0, Oracle 9.2.0.1.0 client and Oracle 9.2.0.3.0 server.

      Jaak Sarv