Received: from trends.net (root@clio.trends.ca [209.47.148.2]) by hub.org (8.9.3/8.9.3) with ESMTP id AAA76515 for ; Fri, 20 Aug 1999 00:33:29 -0400 (EDT) (envelope-from inkle99@yahoo.com) Received: from web504.yahoomail.com (web504.mail.yahoo.com [128.11.68.71]) by trends.net (8.8.8/8.8.8) with SMTP id AAA07989 for ; Fri, 20 Aug 1999 00:21:56 -0400 (EDT) Message-ID: <19990820042234.8172.rocketmail@web504.yahoomail.com> Received: from [12.17.193.105] by web504.mail.yahoo.com; Thu, 19 Aug 1999 21:22:34 PDT Date: Thu, 19 Aug 1999 21:22:34 -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