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

The application was unable to start correctly (no replies)

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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>