Hi folks,
I've put together a DLL in Visual C++ which accesses a MySQL DB on my web server using the MySQL Connector C++ demo example on the site.
I've got the thing running on my development machine but I can't seem to port the code anywhere else.
I've copied the mysqlcppconn.dll and also the libmysql.dll files into the same folder as the dll on the target which is in line with the run time dependency verbage provided in the example.
I've loaded the Microsoft Data Access Components and copied the DLL files referred to above into my System32 folder for belt and braces. I even put the boot libraries on the target which was just out of desperation as I can't see why include files would be called at run time (I would of thought they were in the compiled version!)
I've spent hours trying to research run time dependency issues surrounding error 126 but there's very little which addresses the MySql/C++ connector specifically.
My calling app is Metatrader MT4 - the DLL is being called OK but is failing to load - thus error 126.
Any help would be very much appreciated.
Cheers
Crispin
I've put together a DLL in Visual C++ which accesses a MySQL DB on my web server using the MySQL Connector C++ demo example on the site.
I've got the thing running on my development machine but I can't seem to port the code anywhere else.
I've copied the mysqlcppconn.dll and also the libmysql.dll files into the same folder as the dll on the target which is in line with the run time dependency verbage provided in the example.
I've loaded the Microsoft Data Access Components and copied the DLL files referred to above into my System32 folder for belt and braces. I even put the boot libraries on the target which was just out of desperation as I can't see why include files would be called at run time (I would of thought they were in the compiled version!)
I've spent hours trying to research run time dependency issues surrounding error 126 but there's very little which addresses the MySql/C++ connector specifically.
My calling app is Metatrader MT4 - the DLL is being called OK but is failing to load - thus error 126.
Any help would be very much appreciated.
Cheers
Crispin