Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Mysql C++ connector: (process 26464) exited with code -1073740791. (no replies)

$
0
0
Set project to release x64

C/C++->General->Additional Include Directories:
C:\Program Files\MySQL\Connector C++ 8.0\include

Linker->General->Additional Library Directories:
C:\Program Files\MySQL\Connector C++ 8.0\lib64\vs14



#include <iostream>

#include <mysqlx/xdevapi.h>

int main()
{
mysqlx::Session sess("localhost", 3306, "root", "password");
mysqlx::Schema db = sess.getSchema("schema_name");
std::getchar();
}


when running my program, I get the error:

C:\Users\Conor\source\repos\mysql_test\x64\Release\mysql_test.exe (process 26464) exited with code -1073740791.
Press any key to close this window . . .

Viewing all articles
Browse latest Browse all 527

Trending Articles