MySQL Forums
Forum List  »  Connector/C++

Mysql C++ connector: (process 26464) exited with code -1073740791.
Posted by: Conor Culhane
Date: June 28, 2022 06:36AM

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 . . .

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql C++ connector: (process 26464) exited with code -1073740791.
380
June 28, 2022 06:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.