Re: [INTERFACES] libpq++ ---- PgDatabase instance problem - Mailing list pgsql-interfaces

From Patrick Welche
Subject Re: [INTERFACES] libpq++ ---- PgDatabase instance problem
Date
Msg-id E11Hn3e-0000kx-00@quartz.newn.cam.ac.uk
Whole thread Raw
In response to libpq++ ---- PgDatabase instance problem  (inkle c <inkle99@yahoo.com>)
List 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


pgsql-interfaces by date:

Previous
From: "Rontxi A."
Date:
Subject: subscribe
Next
From: "Manjinder Singh"
Date:
Subject: pgaccess on windows '98