It is the right function, but it gives me 2 errors..
SQLConfigDataSource: undeclared identifier
ODBC_ADD_DSN : undeclared identifier
I put in my project the headers that were in the MSDN page, but it doesn't work anyway.
Could you please explain me how to use this function?