I am trying to connect the SOCI library to my database but keep on receiving this error on my VS compiler output.
My code is :
{
try
{
backend_factory const& backEnd = odbc;
std::string const & connectString = "DSN=CVD_SQL_connection_2016b_64bit";
session sql(backEnd, connectString);
}
catch (const std::exception& e)
{
cerr << e.what();
}
return 0;
}
The error warnings are the following:
Can someone please guide me about what I am doing wrong?