Yes, here's the ODBC trace:
[snip]
PHON_SCH fff47369-fffad825 ENTER SQLTablePrivilegesW
HSTMT 016D2CE4
WCHAR * 0x00000000
SWORD 0
WCHAR * 0x00000000
SWORD 0
WCHAR * 0x016D1870 [ -3] "phon"
SWORD -3
PHON_SCH fff47369-fffad825 EXIT SQLTablePrivilegesW with return code -1 (SQL_ERROR)
HSTMT 016D2CE4
WCHAR * 0x00000000
SWORD 0
WCHAR * 0x00000000
SWORD 0
WCHAR * 0x016D1870 [ -3] "phon"
SWORD -3
DIAG [IM001] [Microsoft][ODBC Driver Manager] Driver does not support this function (0)
Hmm SQLTablePrivleges() isn't implemented yet.
It seems at least one of the cause.
I'm not sure if I could implement it at once.
Are you in a hurry ?
regards,
Hiroshi Inoue