I am using Visual C++ (inside Visual Studio 2005) and want to be able to connect to a SQL Server 2005 database. I would prefer having a Win32 console project, versus a .NET one for performance reasons. I will be executing scalar statements [i.e. SELECT COUNT(*) FROM Runs or INSERT INTO Runs (ExperimentID, TheName) VALUES (3, 'Test')]
How do I do this? Is there a built-in library? Or is there a 3rd party one I can use?