Subj : Re: odbcinst.h doesn't link: SQLConfigDataSource To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Thu Jul 15 2004 01:04 pm Try this: If you have odbccp32.dll then run implib on it to create an import library: implib -c odbccp32.LIB odbccp32.DLL If you do not have that then use impdef to create *.def files from all likely DLL's in the \windows\system32 or \winnt\system32 directory and grep them to determine if you have that function: for %a in (c:\windows\system32\dll) do impdef %a.DEF %a.DLL (if done in a batch file, double the percents so %a becomes %%a) grep SQLConfigDataSource *.def When you find it, use implib to create an import library and put that library into the compiler's LIB directory. .. Ed > Luis M wrote in message > news:40f699cf@newsgroups.borland.com... > > 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? .