|
|
sybperl-l Archive
Up Prev Next
From: Keith LaVey <keith at pop dot uky dot edu>
Subject: CTlib error
Date: Nov 13 1995 6:48PM
We just installed sybperl 2.0 (non-Beta). I have been testing CTlib with
the following code:
use Sybase::CTlib;
ct_callback(CS_CLIENTMSG_CB, \&CLIENT);
ct_callback(CS_SERVERMSG_CB, \&SERVER);
$X = Sybase::CTlib->ct_connect($user,$pswd,$server);
When I run the script, I get this message:
ct_cmd_alloc(): user api layer: external error:
The connection has been marked dead.
If I remove "ct_callback(CS_SERVERMSG_CB, \&SERVER);"
the script runs fine (and displays Server messages to STDERROR).
What am I doing wrong?
**********************************************************
Keith LaVey 606 257-2313
University of Kentucky keith@pop.uky.edu
**********************************************************
|