3 #if wxUSE_DATABASE_ODBC 10 bool bLoaded =
m_OdbcDLL.Load(wxDynamicLibrary::CanonicalizeName(wxT(
"odbc32")));
12 bool bLoaded =
m_OdbcDLL.Load(wxDynamicLibrary::CanonicalizeName(wxT(
"odbc")));
17 bLoaded =
m_OdbcDLL.Load(wxDynamicLibrary::CanonicalizeName(wxT(
"odbc")));
19 bLoaded =
m_OdbcDLL.Load(wxDynamicLibrary::CanonicalizeName(wxT(
"odbc32")));
25 wxString symbol = wxT(
"SQLAllocHandle");
35 symbol = wxT(
"SQLSetEnvAttr");
45 symbol = wxT(
"SQLFreeHandle");
55 symbol = wxT(
"SQLConnect");
65 symbol = wxT(
"SQLDriverConnect");
75 symbol = wxT(
"SQLDisconnect");
85 symbol = wxT(
"SQLSetConnectAttr");
95 symbol = wxT(
"SQLEndTran");
105 symbol = wxT(
"SQLPrepare");
115 symbol = wxT(
"SQLFreeStmt");
125 symbol = wxT(
"SQLTables");
135 symbol = wxT(
"SQLFetch");
145 symbol = wxT(
"SQLGetData");
155 symbol = wxT(
"SQLColumns");
165 symbol = wxT(
"SQLPrimaryKeys");
175 symbol = wxT(
"SQLGetDiagRec");
185 symbol = wxT(
"SQLNumParams");
195 symbol = wxT(
"SQLExecute");
205 symbol = wxT(
"SQLParamData");
215 symbol = wxT(
"SQLPutData");
225 symbol = wxT(
"SQLRowCount");
235 symbol = wxT(
"SQLNumResultCols");
245 symbol = wxT(
"SQLDescribeParam");
255 symbol = wxT(
"SQLBindParameter");
265 symbol = wxT(
"SQLColAttributes");
275 symbol = wxT(
"SQLColAttribute");
285 symbol = wxT(
"SQLDescribeCol");
298 #endif//wxUSE_DATABASE_ODBC SQLDescribeParamType m_pSQLDescribeParam
SQLExecuteType m_pSQLExecute
SQLDescribeColType m_pSQLDescribeCol
SQLRETURN(SQL_API * SQLConnectType)(SQLHDBC, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLBindParameterType m_pSQLBindParameter
SQLGetDataType m_pSQLGetData
SQLSetEnvAttrType m_pSQLSetEnvAttr
SQLRETURN(SQL_API * SQLColAttributesType)(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT *, SQLLEN *)
SQLFreeStmtType m_pSQLFreeStmt
SQLRETURN(SQL_API * SQLGetDataType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN *)
SQLNumParamsType m_pSQLNumParams
SQLRETURN(SQL_API * SQLNumResultColsType)(SQLHSTMT, SQLSMALLINT *)
SQLRETURN(SQL_API * SQLTablesType)(SQLHSTMT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLRETURN(SQL_API * SQLPrepareType)(SQLHSTMT, SQLTCHAR *, SQLINTEGER)
SQLRETURN(SQL_API * SQLDisconnectType)(SQLHDBC)
SQLRETURN(SQL_API * SQLEndTranType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT)
SQLDisconnectType m_pSQLDisconnect
SQLSetConnectAttrType m_pSQLSetConnectAttr
SQLColumnsType m_pSQLPKColumns
SQLRETURN(SQL_API * SQLFreeStmtType)(SQLHSTMT, SQLUSMALLINT)
SQLPutDataType m_pSQLPutData
SQLTablesType m_pSQLTables
SQLRETURN(SQL_API * SQLDescribeParamType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT *, SQLULEN *, SQLSMALLINT *, SQLSMALLINT *)
SQLConnectType m_pSQLConnect
SQLRETURN(SQL_API * SQLExecuteType)(SQLHSTMT)
SQLRETURN(SQL_API * SQLRowCountType)(SQLHSTMT, SQLLEN *)
SQLRETURN(SQL_API * SQLFreeHandleType)(SQLSMALLINT, SQLHANDLE)
SQLGetDiagRecType m_pSQLGetDiagRec
SQLRETURN(SQL_API * SQLDescribeColType)(SQLHSTMT, SQLUSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *, SQLSMALLINT *, SQLULEN *, SQLSMALLINT *, SQLSMALLINT *)
SQLRETURN(SQL_API * SQLPutDataType)(SQLHSTMT, SQLPOINTER, SQLLEN)
SQLColumnsType m_pSQLColumns
SQLRETURN(SQL_API * SQLGetDiagRecType)(SQLSMALLINT, SQLHANDLE, SQLSMALLINT, SQLTCHAR *, SQLINTEGER *, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *)
SQLColAttributesType m_pSQLColAttributes
SQLRETURN(SQL_API * SQLColAttributeType)(SQLHSTMT, SQLUSMALLINT, SQLUSMALLINT, SQLPOINTER, SQLSMALLINT, SQLSMALLINT *, SQLPOINTER)
SQLParamDataType m_pSQLParamData
SQLRETURN(SQL_API * SQLNumParamsType)(SQLHSTMT, SQLSMALLINT *)
SQLAllocHandleType m_pSQLAllocHandle
wxDynamicLibrary m_OdbcDLL
SQLRETURN(SQL_API * SQLAllocHandleType)(SQLSMALLINT, SQLHANDLE, SQLHANDLE *)
SQLRETURN(SQL_API * SQLFetchType)(SQLHSTMT)
SQLRETURN(SQL_API * SQLSetEnvAttrType)(SQLHENV, SQLINTEGER, SQLPOINTER, SQLINTEGER)
SQLRETURN(SQL_API * SQLColumnsType)(SQLHSTMT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT)
SQLColAttributeType m_pSQLColAttribute
SQLFreeHandleType m_pSQLFreeHandle
SQLPrepareType m_pSQLPrepare
SQLRETURN(SQL_API * SQLParamDataType)(SQLHSTMT, SQLPOINTER *)
SQLRETURN(SQL_API * SQLBindParameterType)(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN *)
SQLRowCountType m_pSQLRowCount
SQLRETURN(SQL_API * SQLDriverConnectType)(SQLHDBC, SQLHWND, SQLTCHAR *, SQLSMALLINT, SQLTCHAR *, SQLSMALLINT, SQLSMALLINT *, SQLUSMALLINT)
SQLEndTranType m_pSQLEndTran
SQLDriverConnectType m_pSQLDriverConnect
SQLRETURN(SQL_API * SQLSetConnectAttrType)(SQLHDBC, SQLINTEGER, SQLPOINTER, SQLINTEGER)
SQLNumResultColsType m_pSQLNumResultCols