How to use SQLAPI in VC++ console program?

I am trying to link my c++ console program with the SQL database and i have downloaded the SQL API from but after putting .lib in additional dependencies,DLL in system 32 and SQLAPI.h in header it still dont work and when i try to include the sqlheader in my program it shows error and also it shows another error of sqlapi.dll? can anybody explain me the process to use SQL API in visualC++.

/thanks in advance
Topic archived. No new replies allowed.