database probelm
-
Hi, I have a mysql database on a Redhat linux system.I want to access that database using VC++ as the front end.How should I do?Can someone provide a sample example code for this. Karteek
http://www.mysql.com/products/mysql++/index.html[^] http://www.mysql.com/documentation/mysql++/index.html[^]
Jon Sagara Vegetarianism is unhealthy. Humans need protein, and lots of it. Put down those sprouts and pick up a T-bone! -- Michael Moore
Latest Article: Breadcrumbs in ASP.NET -
Hi, I have a mysql database on a Redhat linux system.I want to access that database using VC++ as the front end.How should I do?Can someone provide a sample example code for this. Karteek
-
Hi, Thanks a lot. But still I have a problem.I got the ODBC driver and created a DSN and wrote a sample WIN32 Console appln to test it .But it is not working.Please check this code. #include "stdafx.h" #include #include int main(int argc, char* argv[]) { printf("Hello World!\n"); CDatabase c; c.Open(_T("test"),FALSE,FALSE,_T("ODBC"),TRUE); return 0; } It is giving the following errors. --------------------Configuration: kardb - Win32 Debug-------------------- Compiling... kardb.cpp Linking... nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex Debug/kardb.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. kardb.exe - 3 error(s), 0 warning(s)