PRO*C connect returns ORA-3121
I am running a simple PRO*C program to test connecting to a database and am recieving an ORA-3121 message.
I can connect through SQL*PLUS and all of the other Oracle tools.
The PRO*C program is using sqllib18.dll instead of the newer sqllib80.dll.
There are also 2 oracle homes:
1) C:\orant (this is for the Developer 6i Forms/Reports)
2) D:\oracle\ora81 ( the Oracle database software & Oracle client
(8.1.7)
I think this may be a SQL*NET setup problem but can't track it down.
Any help would be appreciated...
Thanks