Is the same user/profile being used by the dbaccess session as
the ESQL/C program?
-Bill
}
}
} I have installed Informix SE 7.22 and ESQL/C 7.22 on an SCO Open Server
} system.
}
} If I use any Informix utilities (dbaccess for example), I can access the
} database with no problem.
}
} However, I cannot with any programs I compile with ESQL/C. I get error
} -25574 - Network driver cannot open the network device. $INFORMIXDIR/etc/sq
} lhosts is using setlitcp as the protocol.
}
} For example, I created a very simple ESQL/C program:
}
} #include <stdio.h>
}
} main()
} {
} $database acct
} printf("sqlca.sqlcode = %d\\n",sqlca.sqlcode);
} }
}
} I compiled with both "esql -o db db.ec" and "esql -static -o db db.ec".
} Neither work. They get the error -25574.
}
} I doubt that it is a configuration problem, since I can connect to the
} database with no problem with dbaccess and do queries, etc.
}
} Any ideas?
}
}
}
}
}
}
}
--
Bill Ennis Voice: 312-474-7516
SSA Fax: 312-474-7460
500 W. Madison email: ennis@ssax.com ennis@accesschicago.net