[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    [freetds] Re: class CConnect ?
From:       "James K. Lowden" <jklowden () speakeasy ! org>
Date:       2002-04-26 22:39:01
[Download RAW message or body]

On Fri, 26 Apr 2002 03:19:42 -0400 "gik" <liauwsiauwlong@hotmail.com>
wrote:

> when I create my own class :
> 
> class CConnect {
> char user[20] , pass[20] , server[20] ;
> DBPROCESS *pDbProc ;
> public:
> CConnect(char[], char[], char[]) ;
> ~CConnect() ;
> int open_db(char[]) ;
> };
> // my problem if I trying to connect with nonmember database
> // It doesn't print error but Segmentation Fault !
> // why this happen ? and how to fix it ?

If you connect successfully with good login data but segfault with bad
login data, you may want to get and build the nightly FreeTDS snapshot
from www.freetds.org.  There was a bug in that area in 0.53.

--jkl

---
You are currently subscribed to freetds as: [freetds@progressive-comp.com]
To unsubscribe, forward this message to leave-freetds-113879Q@franklin.oit.unc.edu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic