I am using libiodbc to access the Virtuoso server. Thus, I am creating a HENV instance via SQLAllocHandle( SQL_HANDLE_ENV, SQL_NULL_HANDLE, &henv )
and then a HDBC intance via SQLAllocConnect( henv, &hdbc ) and SQLDriverConnect( hdbc, ... ) Atm I am using the HDBC instance throughout multiple threads and am experiencing some crashes which I think are related to that. So my question is simple: should HDBC be thread-safe or am I supposed to create one connection for each thread? Cheers, Sebastian Trueg (Mandriva) (Soprano Virtuoso integration development) http://soprano.sourceforge.net