This error occurs when creating win32 application module.
Cause) On a 64-bit system, a 32-bit application invokes a 64-bit dll file.
Resolution) Copy libmysql.dll from C: \ Program Files (x86) \ MySQL \ MySQL Server 5.7 \ lib to my application folder.
User contributions licensed under CC BY-SA 3.0