I am trying to connect directly to my visual FoxPro database without using a datasource.
With a datasource it worked fine, but I can not get it to work without one. Can someone check my connection code line here:
or give me exact code to connect to a database without a datasource. I went to a number of MSDN pages but none of them helped me figure it out.Code:SQLDriverConnect(hdbc, NULL, (unsigned char*)"Driver={Microsoft FoxPro VBF Driver}; SourceType=DBF; SourceDB=data/CATADA.DBF; Exclusive=No \0", SQL_NTS, NULL, 0, NULL, 0);
thanks a lot,
esaptonor



LinkBack URL
About LinkBacks



