MySQL Forums
Forum List  »  Connector/ODBC

Re: MyODBC 5.2.6 SQLFREEHANDLE() Crashes our code!!
Posted by: Mary Clark
Date: December 02, 2013 11:55AM

OK, I'm embarrassed for pointing the finger in the wrong direction. This problem was not really caused by any fault in ODBC Connector. It was caused by statements in our code. We were porting 32 bit code to 64 bit and failed to update the data types in our code to match the new ODBC function signatures for 64 bit. This caused memory corruption which appeared as an error in SQLFreeHandle(). If anyone else is interested, here is a link to an article that lists all the ODBC functions whose signatures have changed for 64 bit >>
http://msdn.microsoft.com/en-us/library/ms716287(v=vs.85).aspx

Options: ReplyQuote


Subject
Written By
Posted
Re: MyODBC 5.2.6 SQLFREEHANDLE() Crashes our code!!
December 02, 2013 11:55AM


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.