1 Reply Latest reply: Apr 27, 2012 1:41 PM by Steve.Clamage-Oracle RSS

    what would I do of this error。。。(occi +oracle11.2.0.1 + visual studio 2010)

    933647
      I have encounter this problem ,like this below:
      while(m_pProductId->next()) //m_pProductid is the ResultSet*
                     {

                          string sr = m_pProductId->getString(2); //no error happen
                          
                          sTmp = sr;
                          sProductName = sTmp.c_str();
                          m_stHighDlg.m_comProductID.AddString(sProductName);
                          iTmp = m_pProductId->getInt(1);
                          m_mapProducts.insert(map<CString,int>::value_type(sProductName,iTmp));
                          if (iTmp == m_structCBinfo.iCurrentProductID)
                          {
                               m_stHighDlg.m_comProductID.SetCurSel(i);
                          }
                          i++;
                     } /// but this line encounter a error
      like this :
      int the system file xutility its error in this file

                for (_Iterator_base12 **Pnext = &Myproxy->_Myfirstiter;
                     _Pnext != 0; Pnext = (*Pnext)->_Mynextiter)
                     (*Pnext)->Myproxy = 0;
                Myproxy->Myfirstiter = 0;



      i think this problem is happened bacause the getstring(2) `s string is not ~string directly
      and it cant ~ it so what would I do now to solve it