Memo will be truncated in new version
Posted: Thu 15 Nov 2007 20:02
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:
when I add this value to a blob field then it will work fine:
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
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) ^
Code: Select all
params.CreateParam(ftBlob, 'Blob', ptUnknown).AsBlob := 'CMP2x'#4#0#0'ggwt'; // any encrypted value
// datalength = 12
Any ideas to workaround this issue?
Thank you
Michael