I have write my code using MySQL++ to communicate with the MySQL Embedded Server. at first, I used dynamic link method (use mysqlpp.dll), but it always fail with 1 when do mysql_real_connect(). later i realized that i should not use dll, so i go to use static link method (use mysqlpp.lib) and things goes ok.
I think maybe mysql++ can add mysql embedded server support later. but how to achive this without mysql++ inner support? I don't know much more about windows DLL, so i'm wondering.