freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James K. Lowden <jklowden AT speakeasy.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: class CConnect ?
- Date: Fri, 26 Apr 2002 18:39:01 -0400
On Fri, 26 Apr 2002 03:19:42 -0400 "gik" <liauwsiauwlong AT 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
-
class CConnect ?,
gik, 04/26/2002
- <Possible follow-up(s)>
- Re: class CConnect ?, James K . Lowden, 04/26/2002
Archive powered by MHonArc 2.6.24.