S3P_MSSQLServer_Result.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- // S3P_MSSQLServer_Result.h: interface for the S3P_MSSQLServer_Result class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_S3P_MSSQLSERVER_RESULT_H__16A5506B_D906_41FD_91A2_9A87D4EB4E53__INCLUDED_)
- #define AFX_S3P_MSSQLSERVER_RESULT_H__16A5506B_D906_41FD_91A2_9A87D4EB4E53__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "KStdAfx.h"
- #include "S3PResultVBC.h"
- #include "msado15.tlh"
- class S3P_MSSQLServer_Result : public S3PResultVBC
- {
- protected:
- _RecordsetPtr m_pResult;
- public:
- int m_nAddRef;
- S3P_MSSQLServer_Result()
- {
- m_pResult = NULL;
- m_nAddRef = 0;
- }
- virtual ~S3P_MSSQLServer_Result();
- virtual int GetResult( _Recordset** ppResult);
- virtual int num_rows() const;
- virtual int num_fields() const;
- virtual void data_seek (unsigned int offset, int nType) const;
- virtual bool get_field_data(unsigned int nfieldindex, void* pData, unsigned long nsize);
- virtual int unuse();
- };
- #endif // !defined(AFX_S3P_MSSQLSERVER_RESULT_H__16A5506B_D906_41FD_91A2_9A87D4EB4E53__INCLUDED_)