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

Running in debug but error in release (1 reply)

$
0
0
Hi guys,

I'm using the Connector/C++ 1.1.3 for a Visual Studio 2010 (32bit) project. Everything is working fine and as expected in debug mode. But when I execute the release version, I'm running into an error:

Unhandled exception at 0x747BAF68 (msvcr90.dll) in recognition_app.exe: 0xC0000005: Access violation reading location 0x00006477.

This line is the source of the error:
con = driver->connect("tcp://127.0.0.1:3306", username, pwd);

Getting a driver instance works (driver = get_driver_instance();).
Does anyone know how to solve this?

Cheers,
Alex

Viewing all articles
Browse latest Browse all 527

Trending Articles



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