SQLConnect(dbc,(SQLCHAR*)DSN,SQL_NTS,(SQLCHAR*)user,SQL_NTS,(SQLCHAR*)password,SQL_NTS);
if (retcode==SQL_SUCCESS || retcode==SQL_SUCCESS_WITH_INFO){
//printf( "Successfully connected\n" );
SQLDisconnect(dbc);
Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=17&topic_id=5151&post_id=21294