Hi guys!
I am new using code::blocks, but not new doing programming. I have some problems understanding the proper way to link/dinamically libraries, and so I need someone who can point me out the right direction!
Im trying to connect to a MySql database using SqlApi++ Library. So I follow this tutorial:
http://cbsecsnip.in/tutorial/how-to-connect-MySQL-database-with-CPP/how-to-connect-MySQL-database-with-CPP.phpI can build my project correctly. However when I try to run my .exe file, it crashes! the cmd window pops up and then a warning message window pops up saying that the myAppName.exe has stopped working. The problem is (I beleived) the file libsqlapid.dll which I have copied into my project's debug folder under the bin folder (as the tutorial suggests).
So my question is, what am I doing wrong? Or where can i find a good source with examples than i can read and follow to work out the exampel. I have been reading the info her in code::blocks website and in sqlapi++ website but i dont find anything.