Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!dog.ee.lbl.gov!hellgate.utah.edu!peruvian.utah.edu!u-sgreen From: u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman) Newsgroups: comp.sys.next Subject: Help with Sybase Keywords: Sybase Message-ID: <1990Oct10.171924.1115@hellgate.utah.edu> Date: 10 Oct 90 23:19:24 GMT Organization: University of Utah CS Dept Lines: 24 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