I am a c++ newbie trying to connect to a database through c++ source code, but after seemingly added libraries where appropriate, i get screwed with '_imp_ZN3sql5mysql19_get_driver_instanceEv' error.What could have been the problem please help me go further.
Please anyone here should grant me probable work around so as to get over this error. I ported the code to another platform(being MSVS which the former is codeblocks and DEV C++ IDEs), the errors were many and fatal. The code us a simple database Connection with c++. If need be to post the code let me know.
you need libmysql.lib for windows. The dll is run-time, the lib is compile time.
that .a thing is something for unix. Its probably wrong for windows, unless its a force-fit like a Cygwin compile to allow usage on windows.