I'm currently working with a framework which uses wstring, how can I  
dynamically create queries like this:
std::wstring sQuery = L”SELECT * FROM Table WHERE Tilte = '”;
sQuery += title; //it's a wstring
sQuery += “'”

I tried to use (const char*)sQuery.c_str() but it doesn't work. Any ideas?

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to