0 Replies Latest reply: Apr 9, 2012 8:30 PM by 929497 RSS

    ResultSet getString error when data length more than 16 bytes

    929497
      os: xp sp3 (CHS)
      occi: oracle client 11.2.0.1
      database: oracle 9i
      vs2008 sp1

      Field1's type is VARCHAR2(50)

      code:
      while (pRs->next()){
      cout<<pRs->getString(1)<<endl;
      }

      run in vs2008 debug mode working fine
      directly run exe file,both debug and release working fine

      run in vs2008 release mode
      when Field1 length < 15,working fine

      when Field1 length >= 15(test:Field1='0123456789012345'), is not working
      vs pause output error (HEAP[.exe]: Invalid Address specified to RtlFreeHeap( 00030000, 02594130 ))
      click “continue” button can get correctly output.

      but the exe file could not correctly run in win7(32 BIT)

      can anyone help ..plz

      regard