Subject Re: [firebird-support] Access Voilation Exception Thrown By fbclient.dll
Author Ann W. Harrison
Ghazanfar Ali wrote:
> Hello EveryOne,
>
> I am using FireBird 1.5.2 in one of my applications, and when i
> call "isc_expand_dpb" before attaching "isc_attach_database"
> to the database it throws Access Voilation Exception. Can
> any one please help me out from this problem.


Don't use that call! If you check in the header, you see
that it's noted as deprecated. It was designed for use by
the embedded language preprocessor and both leaks memory
and leads to access violations.

Allocate your own dpb and make it the right size.

Regards


Ann