I’ve made an app in C++ that uses mysql to connect to a server, but when I send it to my friends to test it, this is what they get:
libmysql.dll is either not designed to run on Windows or it contains an error.
It works completely fine on my pc, I even tried sending another libmysql.dll, same error persists. How can I fix this?
Most likely,
libmysql.dllis either 64-bit and he is using a 32-bit operating system, or it is depending on other DLLs that aren’t installed on his system.There is a tool called
dependency walkerthat will help you track down that kind of problem, but it is designed for advanced users and in short you should probably install the mysql client using a mysql installer instead.