#1 2015-04-16 10:58:30

Chris75018
Member
From: France
Registered: 2012-09-14
Posts: 26
Website

TRawByteStringArray

Hi,

I'm trying to use a TRawByteStringArray Field in a TSQLRecord Object.
Under Delphi XE3 (64 bit platform for compilation) compilater report this exception :
E2100 : Data type too large: exceeds 2 GB

The only way I have found is to change TRawByteStringArray declaration from static array to dynamic array in Syncommons.

//  TRawByteStringArray = array[0..MaxInt div SizeOf(RawByteString)-1] of RawByteString;
  TRawByteStringArray = array of RawByteString;

What's your opinion about this modification ?

thank's in advance.

Offline

#2 2015-04-16 19:41:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: TRawByteStringArray

You have to use a TRawByteStringDynArray field, not this fixed size type.

smile

Online

#3 2015-04-17 07:48:38

Chris75018
Member
From: France
Registered: 2012-09-14
Posts: 26
Website

Re: TRawByteStringArray

Next time, I will try to sign my neurons. smile

Thank's a lot

Offline

Board footer

Powered by FluxBB