Subject | RE: [ib-support] isc_expand_dpb |
---|---|
Author | Rado Benc |
Post date | 2001-07-20T06:55:36Z |
Thanks, it works fine.
P.S.:Sorry for omitting the subject line in original post.
P.S.:Sorry for omitting the subject line in original post.
> At 08:29 AM 7/19/2001 +0200, Rado Benc wrote:Rado
>
> >... 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.