I have been working on a program which connects to libmysql.dll. In the part of the code that uses it, I have included both winsock2.h and mysql.h. I have written the program already and it works really well on both Linux and Windows XP.
For Windows XP, I have found that libmysql.dll must be in the system32 directory in order for the code to work. However, in Windows 7, even having the libmysql.dll file in system32 does not allow it to work. Apparently it could not find libmysql.dll. Given that this is a pidgin plugin, that is the only library that is not required by Pidgin, and therefore I had to place it somewhere. The problem is, I don't know where.
Where must it be placed on newer systems, like Windows 7?