On Tue, 20 Apr 2004 21:54:44 -0700, dsrao wrote:
Quote:
Hi Michael,
I am trying to connect it through VC. The exact statement is as follows
CS_RETCODE rc = cs_ctx_global( cs_ver, &s_Context ); the return value
CS_FAIL ("cscorerc(rc)") Thanks for responding |
So what value are you using for cs_ver? You must make sure that the value
you use (CS_VERSION_125, for example) matches the version of OpenClient
that is installed on the system at run-time.
You must also make sure that your environment variables (SYBASE, etc) are
set correctly so that the locale information can be correctly found.
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html