Rob Richardson <[EMAIL PROTECTED]> wrote:
Our shop writes in Visual C++ 6, and our applications are all developed with _UNICODE defined. But if we want to use sqlite3_exec(), we are forced to convert the SQL statements to single-byte characters. Why is there no sqlite3_exec16() method? Or is there a version of the SQLite API that does have that method?
sqlite3_exec is maintained for backward compatibility only. It is trivially implemented in terms of other public SQLite API functions. You are encouraged to migrate to these functions (see sqlite3_prepare, sqlite3_step, sqlite3_finalize et al).
If for some reason you really need sqlite3_exec16, you can implement it yourself. Take source code for sqlite3_exec and replace all narrow calls with their *16 equivalents were appropriate.
Igor Tandetnik
----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

