> I'm using 8.1.1 Unicode driver with Microsoft Visual FoxPro 9
What is FoxPro doing againist another SQL Server?
Has ANSI driver same behaviour?
> 1. I try to insert a row containing duplicate key
> 2. ODBC driver returns error message
> 3. After that FoxPro crashes with access violation error
>
> If error is not returned from ODBC driver to FoxPro, all is OK.
> This problem is reproducible always.
I don't understand well. Do you make changes in psqlodbc source code?
Or what exactly do you mean with "If error is not returned from ODBC
driver to FoxPro, all is OK."
> How to fix this ?
Good first step is posting mylog output form psqlodbc driver.
Don't you have some bad code after failing insert?
Luf