Received: from web507.yahoomail.com (web507.mail.yahoo.com [128.11.68.74]) by hub.org (8.9.3/8.9.3) with SMTP id AAA72651 for ; Fri, 20 Aug 1999 00:15:11 -0400 (EDT) (envelope-from inkle99@yahoo.com) Message-ID: <19990820041200.24357.rocketmail@web507.yahoomail.com> Received: from [12.17.193.105] by web507.mail.yahoo.com; Thu, 19 Aug 1999 21:12:00 PDT Date: Thu, 19 Aug 1999 21:12:00 -0700 (PDT) From: inkle c Subject: libpq++ ---- PgDatabase instance problem To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I am writing a small class which has a PgDatabase instance as its private member, and in the constructor, I init it to be NULL (i.e., myclass::myclass():PgDatabaseInstanceMember(NULL) ), this causes a core dump, what's wrong with that? My intension is to get dbname from user's input, then create the instance using PgDatabase(dbname), because dbname should be provided by user. Thanks for any suggestions. inkle __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com