Mysql++ inside vst plugin?

Im trying to connect to a database using mysql++ within a vst, i’ve been succesful at doing this outside of a vst framework, but does not seem to work with vst’s. Anyone tried this before? mysql++ requires a dll to reside where the exe is, can vst.dll work together with other dll’s? The vst compiles ok, I tried putting the mysql++ dll into the host folder and/or the vst folder of the host but still not working. Any ideas :?

can’t you just compile it statically into your vst (so no other dll required) ?

thanks kraken, unfortunately mysql++ doesn’t build as static lib due to some licensing issues. So using a different wrapper.