I am passing a pointer to UTF encoded strings and the passed table and
column do exist.
There must be something wrong in my code.

RBS




On Sun, Nov 26, 2017 at 7:56 PM, Clemens Ladisch <clem...@ladisch.de> wrote:

> Bart Smissaert wrote:
> > Having some difficulty using sqlite3_table_column_metadata, used from
> VB6.
> >
> > I keep getting a zero for the first output argument (should be pointer
> to declared data type string)
> > and the return value of the function keeps giving 1.
>
> The documentation <http://www.sqlite.org/c3ref/table_column_metadata.html>
> says:
> | The sqlite3_table_column_metadata() interface returns SQLITE_ERROR and
> if the specified column does not exist.
>
> > Should the tbl_name and column_name also be encoded in UTF8?
>
> In SQLite, pretty much all strings are UTF-8.
>
>
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to