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
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