I did TAPI drivers and TAPI app in Siemens /Boca Raton.
I have done T-SQL job in all conceivable ways by using ADO in VB, OLE-DB in VC++, by MFC using MFC, by using store procedure inside MS-SQL, by using DBI a C interface to SQL.
Now I am developing Windows CE app using eMbedded VC++.