So I was able to successfully build a program in visual c++ using a command prompt. It was a simple program to read from the database then write to the database based on some variable. So I decided to make it a lot more fancy and add a button. I linked everything up the same as I did before, posted the same code without the cout and cin, but I recieved this code
1>new test mysql.obj : error LNK2031: unable to generate p/invoke for "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ); calling convention missing in metadata
1>stdafx.obj : error LNK2028: unresolved token (0A00000D) "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "public: virtual __clrcall sql::mysql::MySQL_Savepoint::~MySQL_Savepoint(void)" (??1MySQL_Savepoint@mysql@sql@@$$FUAM@XZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A00001E) "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A000035) "public: __clrcall sql::SQLString::SQLString(char const * const)" (??0SQLString@sql@@$$FQAM@QBD@Z) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A000037) "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2028: unresolved token (0A000093) "public: virtual int __clrcall sql::mysql::MySQL_Savepoint::getSavepointId(void)" (?getSavepointId@MySQL_Savepoint@mysql@sql@@$$FUAMHXZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>stdafx.obj : error LNK2028: unresolved token (0A000094) "public: virtual class sql::SQLString __clrcall sql::mysql::MySQL_Savepoint::getSavepointName(void)" (?getSavepointName@MySQL_Savepoint@mysql@sql@@$$FUAM?AVSQLString@3@XZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2001: unresolved external symbol "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "public: __clrcall sql::SQLString::SQLString(char const * const)" (??0SQLString@sql@@$$FQAM@QBD@Z) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2019: unresolved external symbol "public: virtual class sql::SQLString __clrcall sql::mysql::MySQL_Savepoint::getSavepointName(void)" (?getSavepointName@MySQL_Savepoint@mysql@sql@@$$FUAM?AVSQLString@3@XZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>stdafx.obj : error LNK2019: unresolved external symbol "public: virtual int __clrcall sql::mysql::MySQL_Savepoint::getSavepointId(void)" (?getSavepointId@MySQL_Savepoint@mysql@sql@@$$FUAMHXZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
Any and all help is appreciated.
1>new test mysql.obj : error LNK2031: unable to generate p/invoke for "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ); calling convention missing in metadata
1>stdafx.obj : error LNK2028: unresolved token (0A00000D) "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "public: virtual __clrcall sql::mysql::MySQL_Savepoint::~MySQL_Savepoint(void)" (??1MySQL_Savepoint@mysql@sql@@$$FUAM@XZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A00001E) "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A000035) "public: __clrcall sql::SQLString::SQLString(char const * const)" (??0SQLString@sql@@$$FQAM@QBD@Z) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2028: unresolved token (0A000037) "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2028: unresolved token (0A000093) "public: virtual int __clrcall sql::mysql::MySQL_Savepoint::getSavepointId(void)" (?getSavepointId@MySQL_Savepoint@mysql@sql@@$$FUAMHXZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>stdafx.obj : error LNK2028: unresolved token (0A000094) "public: virtual class sql::SQLString __clrcall sql::mysql::MySQL_Savepoint::getSavepointName(void)" (?getSavepointName@MySQL_Savepoint@mysql@sql@@$$FUAM?AVSQLString@3@XZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2001: unresolved external symbol "public: __clrcall sql::SQLString::~SQLString(void)" (??1SQLString@sql@@$$FQAM@XZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "public: __clrcall sql::SQLString::SQLString(char const * const)" (??0SQLString@sql@@$$FQAM@QBD@Z) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>new test mysql.obj : error LNK2019: unresolved external symbol "extern "C" class sql::Driver * __clrcall get_driver_instance(void)" (?get_driver_instance@@$$J0YMPAVDriver@sql@@XZ) referenced in function "private: void __clrcall newtestmysql::Form1::mysqltest(void)" (?mysqltest@Form1@newtestmysql@@$$FA$AAMXXZ)
1>stdafx.obj : error LNK2019: unresolved external symbol "public: virtual class sql::SQLString __clrcall sql::mysql::MySQL_Savepoint::getSavepointName(void)" (?getSavepointName@MySQL_Savepoint@mysql@sql@@$$FUAM?AVSQLString@3@XZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
1>stdafx.obj : error LNK2019: unresolved external symbol "public: virtual int __clrcall sql::mysql::MySQL_Savepoint::getSavepointId(void)" (?getSavepointId@MySQL_Savepoint@mysql@sql@@$$FUAMHXZ) referenced in function "void __clrcall `dynamic initializer for 'const sql::mysql::MySQL_Savepoint::`vftable'''(void)" (???__E??_7MySQL_Savepoint@mysql@sql@@6B@@@YMXXZ@?A0xf283656a@@$$FYMXXZ)
Any and all help is appreciated.