Page 1 of 1

Memo will be truncated in new version

Posted: Thu 15 Nov 2007 20:02
by semike
Hello,

since I installed the update of BDS2007 (D2007 SP3) and dbExpress driver 4.20.0.5 I have a very strange phenomenon:

I add an encrypted value to a param and the value will be truncated:

Code: Select all

params.CreateParam(ftMemo, 'Memo', ptUnknown).AsMemo := 'CMP2x'#4#0#0'ggwt'; // any encrypted value
// data will be truncated here  (datalength = 6)                 ^
when I add this value to a blob field then it will work fine:

Code: Select all

params.CreateParam(ftBlob, 'Blob', ptUnknown).AsBlob := 'CMP2x'#4#0#0'ggwt'; // any encrypted value
// datalength = 12
The last version of BDS2006 worked fine, and CodeGear original driver in BDS2007 works fine (but has other problems).

Any ideas to workaround this issue?

Thank you

Michael

Posted: Tue 20 Nov 2007 15:44
by Antaeus
Thank you for information. We have reproduced the problem. The investigation of the problem is in progress. As soon as we solve the problem or we need additional information we will let you know.

Posted: Thu 22 Nov 2007 14:07
by Antaeus
We have fixed this problem. It will be available in the next build of DbxSda.