>>>Could you tell me your connection string ?
>>
>>My connection string is like this (with ODBC default settings):
>>
>> SQLConnect(hdbc,(SQLCHAR*)szDSN, (SQLSMALLINT)strlen(szDSN),
>> (SQLCHAR*)szUID, (SQLSMALLINT)strlen(szUID),
>> (SQLCHAR*)szAuthStr, (SQLSMALLINT)strlen(szAuthStr));
>
>
> Hiroshi needs to know the value for szDSN.
>
ok,I see .
my connection string is below:
***************************
char szDSN[20];
char szUID[20];
char szAuthStr[20];
...
sprintf(szDSN,"postgre_8.02\0");
sprintf(szUID,"test\0");
sprintf(szAuthStr,"test\0");
...
***************************
is there some problem here ?