> 
> I cannot set the connection timeout in ODBC using 
> 
> SQLSetConnectAttr(m_hdbc,SQL_ATTR_CONNECTION_TIMEOUT,
> (void *)(0), 0);
> 
>  It always returns -1.

Please try

SQLSetConnectAttr (m_hdbc, 1011, (SQLPOINTER) 0, SQL_IS_UINTEGER);


Regards  Thomas


----------------------------------------------
Dr. Thomas K�tter
SAP DB, SAP Labs Berlin


Do you know SAP^H^H^H MaxDB ?                   www.sapdb.org 


 

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to