Subject Re: [ib-support] isc_expand_dpb
Author Ann W. Harrison
At 08:29 AM 7/19/2001 +0200, Rado Benc wrote:

>... there were suggestions not to use the isc_expand_dpb
>API call, and in the future (due to some memory issues).
>Which is the preferred way to connect the database
>with user name and password specified? Environment
>settings (ISC_USER, ISC_PASSWORD) are not good
>
>Is there another API call I am missing?


No. The isc_attach_database call accepts a parameter
block called a dpb. Allocate a dpb large enough to hold
the user name and password (and whatever else you need
to pass). Call attach_database and then release the
allocated dpb.


Regards,

Ann
www.ibphoenix.com
We have answers.