Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRPEngine::LogOnServer with Informix

Status
Not open for further replies.

CMR

Programmer
Apr 30, 2002
76
AU
I have a buch of reports which access both Informix SE7 (running on NT)and Informix SE4 (running on UNIX). The reports are fine but I have a problem getting my application to log in using CRPEngine::LogOnServer(). it's ok when I connect to SE7, but SE4 running on UNIX just fails to log in.
When I connect to the NT database, I use pdsifmx.dll which seems to work fine but it fails when I try to connect to the UNIX database. It's worth mentioning that I'm using SCO SQL Retriever to get at the UNIX database, so this may be causing the problem.
The trouble is CRPEngine::LogOnServer only returns TRUE or FALSE, there's no information about why the login fails and I'm sure the information I'm passing to this function is correct (servername, database name, user, password).

Anyone have any ideas?

Thanks in advance

CMR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top