In article <3472084b.0@kds5.kivex.com>, Joe <joe@colsys.com> writes
>I have Informix SE 7.22 and ESQL/C 7.22 installed on an SCO Open Server
>system.
>
>I can use dbaccess to get to the database.
>
>However, try to run an ESQL/C program I compiled on the system, I get
>error -25574 (Network drive cannot open the network device) trying to
>connect to the database.
>
>For example, a simple program like this fails with the above error:
>
>#include <stdio.h>
>
>main()
>{
>$database acct;
>printf("%d\\n",sqlca.sqlcode);
>}
>
>Again, dbaccess has no problem connecting and querying database "acct", but
>none of my just compiled ESQL/C programs can connect.
>
>Any ideas?
>
Check the release notes in $INFORMIXDIR/release.
It may be that your sqlhosts is wrong. Only certain types of
connections may be supported. e.g. TCP/IP vs TLI.
>
>
>
>
--
David Williams