bigint对应VC++6.0中什么数据类型

解决方案 »

  1.   

    怎么从记录集得得到并转换成_int64的数据,给点资料好吗?
      

  2.   

    不用转,你试试这样:
    第一种:
    CString strOperID = (LPCTSTR)(_bstr_t)ado.m_pRecordset->GetCollect(_T("OperID"));
    第二种:
    int iOperType = ado.m_pRecordset->GetCollect(_T("OperType"));
    striOperType.Format(_T("%d"), iOperType);
      

  3.   

    用INT_PTR,看MSDN:#if defined(_WIN64) 
     typedef __int64 INT_PTR; 
    #else 
     typedef int INT_PTR;
    #endif
      

  4.   

    VARIANT::decVal::Lo64,不过需要注意是无符号的,最好用unsigned __int64来存储。