InDesign Plugin - Connect to a SQL database fails
Hi
In my plugin I try to connect to a MS SQL Server. I use
::SQLDriverConnect to do that with a connection string where the
parameters DSN, PWD, UID, APP are definded. But the SQLDriverConnect
returns always -1 and I can't gets the error string using ::SQLError.
I have controlled the connect string. It is OK, is the same using in
other applications. The same method connecting to a SQL server via ODBC
works onm other applications.
What could be wrong?
Thanks for any help.
Regards
Hans
|