From: Rob McCool 
Newsgroups: netscape.devs-nsapi
Subject: Re: Any success?  NSAPI function using Sybase Open Client/Server Lib
Date: Mon, 28 Oct 1996 13:51:28 -0800

Y John Jiang wrote:
> 
> I'm writing a PathCheck function that needs to query a
> remote Sybase database.  I use Sybase Open C/S library.
> The functions works when I called it with my own simple
> testing main(), but not when plug it into a Commerce
> or Enterprise.  Solaris2.4, Sparc.
> 
> It always gives me a core dump at a
> memory allocation or a network function call before
> the Sybase connection is established.  Open C/S lib
> uses TLI for network connection.  Does it conflict with
> Netscape's socket calls?

Does the Open C/S library use C++, and static/global objects? If so, you
might be running into the problem of not having those objects
initialized.

Another thing to check might be to give the 2.01 server a try, if you're
not using it already. The socket implementation is much closer to what
the system provides in that version of the server, so if it is a
conflict between our two libraries, it's possible that 2.01 will remove
that conflict.

--
Rob McCool, robm@netscape.com http://home.netscape.com/people/robm/
Stunt Programmer, Netscape Communications Corporation
It was working ten minutes ago, I swear...
Reproduced by permission of the author.