MySQL Forums
Forum List  »  Connector/C++

Running in debug but error in release
Posted by: Alexander Schwank
Date: January 16, 2014 01:44PM

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



Edited 1 time(s). Last edit at 01/16/2014 01:46PM by Alexander Schwank.

Options: ReplyQuote


Subject
Views
Written By
Posted
Running in debug but error in release
2828
January 16, 2014 01:44PM


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.