Re: [INTERFACES] libpq++ ---- PgDatabase instance problem

From: "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: inkle99(at)yahoo(dot)com (inkle c)
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] libpq++ ---- PgDatabase instance problem
Date: 1999-08-20 11:42:06
Message-ID: E11Hn3e-0000kx-00@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

inkle c wrote:
>
> 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?

I'm not too sure what you want, but how about

myclass::myclass():PgDatabase()

?

Cheers,

Patrick

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Manjinder Singh 1999-08-20 12:28:53 pgaccess on windows '98
Previous Message rjd 1999-08-20 07:06:14 Re: [INTERFACES] Survey