MySQL Forums
Forum List  »  Connector/C++

The application was unable to start correctly
Posted by: Melvin Stober
Date: February 17, 2013 10:01PM

I was able to get the program listed here http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html to compile and link with VC++ 2012, but the program won't run. Get the error message "The application was unable to start correctly (address here) Click OK to close the application)." I copied libmysql.dll and mysqlcppconn.dll into the same folder as the program executable. I get the same error in both debug and release builds.

I have the MySQL database server running on a different computer than the one I am using to build the application program. I copied libmysql.lib from that other computer so that my program could link. Could that be the problem? I am using the 32-bit version of the server instead of the 64-bit version.

Options: ReplyQuote


Subject
Views
Written By
Posted
The application was unable to start correctly
4584
February 17, 2013 10:01PM


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.