Apr 24, 2002 #1 scienzia Programmer Feb 21, 2002 160 IT Is it possible to make an application that inserts an Access database in the ODBC so that users don't have to do it manually?
Is it possible to make an application that inserts an Access database in the ODBC so that users don't have to do it manually?
Apr 24, 2002 #2 Zyrenthian Programmer Mar 30, 2001 1,440 US Yep, I am pretty sure the API call is SQLConfigDataSource with ODBC_ADD_DSN Matt Upvote 0 Downvote
Apr 29, 2002 Thread starter #3 scienzia Programmer Feb 21, 2002 160 IT 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? Upvote 0 Downvote
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?
Apr 29, 2002 #4 Zyrenthian Programmer Mar 30, 2001 1,440 US I belive you need to include #include <sql.h> #include <odbcinst.h> (not sure about case) Matt Upvote 0 Downvote