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://", username, pwd);

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


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

Options: ReplyQuote

Written By
Running in debug but error in release
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.