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?