695 Subj : Re: odbcinst.h doesn't link: SQLConfigDataSource To : borland.public.cpp.borlandcpp From : Luis M Date : Thu Jul 15 2004 05:50 pm Hi Ed. Thanks for your response, but I need further help. Here are the exact repro steps: New Application: ------------------------------------ #include SQLConfigDataSource( NULL, ODBC_ADD_DSN, "Microsoft Access Driver (*.mdb)", "DSN=HelloWorld"); ------------------------------------ Compile & link: Error message. My (full) installation doesn't include odbccp32.lib. It does include odbc32.lib, but that doesn't do the trick. Can anyone else try this too, please? Luis M. "Ed Mulroy [TeamB]" escribió en el mensaje news:40f57690$1@newsgroups.borland.com... > > I cannot get odbcinst.h to link. > > odbcinst.h is a header file used by the compiler. The linker does not > use it. > > > [Linker Error] Unresolved external 'SQLConfigDataSource' > > The message is clear, you have not included anything in the project > which provides that symbol. > > Add the import library which supplies the references for the library > to the file. I don't have BC++ mounted but the library name is > probably similar for your machine, odbccp32.lib > > . Ed > > > Luis M wrote in message > > news:40f56649@newsgroups.borland.com... > > > > I cannot get odbcinst.h to link. > > > > error: > > [Linker Error] Unresolved external 'SQLConfigDataSource' > > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcsqlconfigdatasource.asp > > . 0