May be I was not very clear in my first post.

my call is the following:

CDatabase db;
db.OpenEx(sConnectionString,CDatabase:penReadOnly | CDatabase::forceOdbcDialog);

The ODBC Driver Dialog is Displayed, but its behind the calling dialog (mine), and this just when the driver is Mysql. for other drivers all is OK.

So I tried :

SQLConfigDataSource(pDlg->GetSafeHwnd(),ODBC_ADD_DSN,sDriver,"");
And I have the same behaviour, the MySql ODBC Driver is behind my main window.

thank you.