MySQL Forums
Forum List  »  Connector/C++

64 bit build for C++ connectors
Posted by: C Scruby
Date: October 21, 2012 11:22AM

Hi,

I'm trying to rebuild an existing (and working) DLL which connects MetaTrader to MYSQL. I've installed the SDK, the compiler updates and everything suggested. I get a 'succesfull' build in Visual Studio 2010 Express BUT..... MetaTrader 5 won't load the DLL.

I've looked at the DLL using dependency walker and the DLL looks like it's in 64 bit format at the top level with mysqlcppconn.dll in 64 bit, MSVCP90 and MSVCR90 dlls also in 64 bit mode BUT.....libmysql.dll looks like it's still in 32 bit mode along with ADVAPI32, USER32 and Kernel32 dlls.

Oddly there is no 64 bit version of libmysql.dll in the 64 MSI installer package.

Kind of pulling my hair out with this. MetaTrader won't give any error reporting apart from "Cannot load DLL" -

Anyone got any ideas what I'm doing wrong? Is there a 64 bit version of the libmysql.dll?? If so anyone know where it is? I might well be barking totally up the wrong tree with this line of enquiry but I've tried everything else I can think of.

cheers

Options: ReplyQuote


Subject
Views
Written By
Posted
64 bit build for C++ connectors
2990
October 21, 2012 11:22AM
1352
October 22, 2012 06:56AM
1461
October 22, 2012 07:06AM
1526
October 22, 2012 07:09AM
1436
October 22, 2012 08:09AM


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.