I tried many permutations and combinations but unable to create System DSN using SQLConfigDataSource.
SQL server is with Windows Authantication
I have written following code
if (!SQLConfigDataSource(NULL, ODBC_ADD_SYS_DSN,_T("SQL Server"),_T("DSN=EIAQUANT\0 DATABASE=DBEIAQUANT\0 SERVER=MERILDSK33\0 Trusted_Connection=Yes\0")))
Please help to create DSN.