I have no way to test but i think a call like
rc = sqlite3_bind_text(stmt, 1, (LPCTSTR)likeexp, -1,
SQLITE_TRANSIENT<http://www.sqlite.org/c3ref/c_static.html>
);
would work

2012/6/26 deltagam...@gmx.net <deltagam...@gmx.net>

> Hello I have as input parameter
>
> CString likeexp
>
> but I think in the following statement  likeexp hast to be char []
>
> rc = sqlite3_bind_text(stmt, 1, likeexp, strlen(likeexp), NULL);
>
>
> How can i convert likeexp to fit the above statement ?
>
> ______________________________**_________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-**bin/mailman/listinfo/sqlite-**users<http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to