Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

C++
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.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900