I have been trying to connect to mysql using OTL_ODBC. I have included the OTL header file (otlv4.h) in my Visual Studio 2010 Project but when I try to use otl_connect
, it displays the error "Cannot Resolve Symbol otl_connect", and the otl_connect
class appears red in colour:
May I know where I'm doing it wrong?
#define OTL_ODBC
#include "otlv4.h"
int main(int argc, char* argv[])
{
otl_connect db;
}
otl_connect
is inside namespaceodbc
. Tryodbc::otl_connect
.