Thank you!
Unfortunately this DLL does not work on my machine either
(when injecting the dll the CoD2 server console throws this unknown function script compile error for not finding a libcod-function)
It might be because it is linked against the mysql library.
Try to copy libmysql.dll (in lib/) with the libcod dll.