The document is archived and information here might be outdated
Creating a SQL Native Client OLE DB Provider Application
Creating a SQL Native Client OLE DB provider application involves these steps:
Establishing a connection to a data source.
Executing a command.
Processing the results.
|When possible, use Windows Authentication. If Windows Authentication is not available, prompt users to enter their credentials at run time. Avoid storing credentials in a file. If you must persist credentials, you should encrypt them with the Win32 cryptoAPI.|