I've never used the libraries in visual studio, but I assume you could use ADO or something like that to make the connection and run the queries. I was unaware that there was a C/C++ library for mysql. However, I assume that it has functions just like PHP that would be like mysql_connect(), mysql_select_db(), etc.
Have you found a readme/help file on the library?