Subject Problem with TIB_Connection.BuildDPB?
Author Tom Munro Glass
I'm trying to set the number of Page Buffers for a database, and I'm using
code similar to that used in IB_SQL to customize the DPB when connecting.

I found that if I set the number to a multiple of 256, it fails and sets the
number of buffers to 0, but if I use a number such 8000 it works fine. This
is reproducible with IB_SQL.

The problem seems to be on the line in TIB_Connection.BuildDPB that uses
StrPCopy. If the first byte of Contents is zero, StrPCopy doesn't work. Is
there any reason why this couldn't be Move instead of StrPCopy?

Regards,

Tom Munro Glass
TMG Consultancy Ltd