[comp.sys.next] help with sybase

u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman) (10/11/90)

I need help from anyone else out there that is using Sybase on the NeXT.
I am trying to set up a login panel similar to the one used to login to
the NeXT, only for Sybase.  The problem is that if the login fails, my
program exits.  Just before it dies, it prints the following:

Msg 4002, Level 14, State 1

         Login failed
DB-Library: Login incorrect.

This info is printed out by my msg_handler() function that I set with the
dbmsghandle() function.  There is nothing wrong with the error message
as far as I'm concerned.  The problem is that after printing this the
program dies.  

My msg_handler() function always returns 0,and should always return a 0
according to the documentation (pg 2-86 of the DBLIB Reference Manual).
Does anyone out there know why my program is dying after it gets this
error?  How I can stop it from dying?

Thanks for any help.

Scott Greenman
University of Utah

dennisg@kgw2.Xetron.COM (Dennis Glatting) (03/30/91)

i need some help.  i need to know how to get a sybase
data base up and running quickly (crude and rude).  i have
found the docs for sybase lacking.  also, i don't know sql.

sybase will run under os 2.0 on both 030 and 040 NeXT 
computers.

questions:

1.  what's the scoop.  has anyone seen the release of
sybase that runs on both 030 and 040 NeXTs?  what are
the problems with the 1.0a release of sybase?

2.  what books do you recommend to "jump start" my
efforts?  i have been writing software for over
11 years and writing code for the NeXT over the last 18
months.  

-- 
 ..!uunet!kgw2!dennisg  | Dennis P. Glatting
 dennisg@Xetron.COM     | X2NeXT developer
                        | NeXT/C++/Objective-C wienie