Components of SQL Native Client
SQL Native Client contains the following components:
Component
Description
sqlncli.dll
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.
sqlnclir.rll
The accompanying resource file for the SQL Native Client library.
sqlncli.chm
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.
sqlncli.h
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.
Nota:
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.
sqlncli.lib
The library file needed to directly call the bcp utility functions that are part of the SQL Native Client ODBC driver.
Nota:
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.
Vea también
Otros recursos
Building Applications with SQL Native Client