I'm not aware of a database api. Can you give me a little more info on this? We have a program written in C++ that parses some binary files and converts the data to ascii. We need to take all of the ascii data and put it into a Microsoft SQL Server Database, no other choice. I've never done any database work on th eUnix side, only in Windows, so I am unfamiliar with how to connect to a database programmatically with C++ on Solaris and Insert the data into the approriate table.
There are no special features in C++ or in Sun Studio that relate directly to database access or to connecting to remote database servers.
Your question would be for Microsoft: how to connect to their SQL server running on Windows from a program running on a Unix system. Maybe the server documentation covers that topic.
If you isolate the "how to connect to the server" part, the rest of the program should be the same on Unix as on Windows, using portable C++ code.