Does anyone have a good easy to follow tutorial on getting System.Data.SQLite working with Visual C++ 2008 Express (free edition)?
I went through the setup.exe, and added the .lib as a reference to the project, but it doesn't seem to recognize the library.
Thanks,
Bill
using System.Data.SQLite;
void ExampleAIModule::onStart()
{
// Opens an unencrypted database
SQLiteConnection cnn = new SQLiteConnection("Data Source=c:\\sample.db");
.\Example.cpp(8) : error C2143: syntax error : missing ';' before '.'
.\Example.cpp(8) : error C2873: 'System' : symbol cannot be used in a using-declaration
.\Example.cpp(8) : error C2059: syntax error : '.'
.\Example.cpp(19) : error C2065: 'SQLiteConnection' : undeclared identifier
.\Example.cpp(19) : error C2146: syntax error : missing ';' before identifier 'cnn'
.\Example.cpp(19) : error C2065: 'cnn' : undeclared identifier
.\Example.cpp(19) : error C2061: syntax error : identifier 'SQLiteConnection'