Hy
Ok i change the distribution i try to use connector 8.0
I got on your's site web
and example to :
https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html
I have the same code
i use mysqlcppconn8-static.lib
sql::Driver* driver = nullptr;
driver = get_driver_instance();
file included :
/*
Include directly the different
headers from cppconn/ and mysql_driver.h + mysql_util.h
(and mysql_connection.h). This will reduce your build time!
*/
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
Compilation option /MD and VS2019
Error link __imp__get_driver_instance
Xhere is get_driver_instance ?
I'm doing something wrong ?
Thanks