Components of SQL Native Client
SQL Native Client contains the following components:
The dynamic-link library (DLL) file that contains all of the SQL Native Client functionality. This includes the SQL Native Client OLE DB provider and the SQL Native Client ODBC driver.
The accompanying resource file for the SQL Native Client library.
The Data Source Wizard help file that documents how to create a SQL Server data source using the SQL Native Client ODBC driver or the SQL Native Client OLE DB provider.
The SQL Native Client header file that contains all of the new definitions needed in order to use SQL Native Client. This header file replaces both the odbcss.h and the sqloledb.h header files.
You cannot reference sqlncli.h and odbcss.h in the same program, but you can reference sqlncli.h and sqloledb.h in same program as long as sqloledb.h is defined first.
The library file needed to directly call the bcp utility functions that are part of the SQL Native Client ODBC driver.
If you do reference the sqlncli.lib file in your programming code, you need to make sure that the sqlncli.dll file is in your system path, and in the system path of the users that make use of your application.