Issues with update to 10.0.0.1469

Hello,

After upgrading to Delphi DataAbstract version 10.0.0.1469,
there was a Issues when generating the interfaces for the existing dataservices for the Decimal type.

The message appears when compiling
[dcc32 Error] DataDocument_Intf.pas (3515): E2033 Types of current and formal var parameters must be identical.

The code looks like this:

procedure IncPlt.ReadComplex (aSerializer: TObject);
cousin
__Serializer: TROSerializer;

l_Value: Decimal;
begin

l_Value: = Self.Value;
__Serializer.ReadDecimalWithErrorHandling (‘Value’, l_Value); <- the error appears here
Self.Value: = l_Value;

Best regards,
Tiberiu Stoicescu

Tiberiu,

I believe this too is the same problem as https://talk.remobjects.com/t/enum-problem-code-first-net-server-delphi-client/21500/8; we’ll try to have a fix for this tomorrow (Wednesday).

Hi,

pls update uROSerializer.pas as

    procedure ReadDecimalWithErrorHandling(const aName: string; var Value: Decimal; ArrayElementId: integer = -1); //changed
..
procedure TROSerializer.ReadDecimalWithErrorHandling(const aName: string;
  var Value: Decimal; ArrayElementId: integer = -1); //changed

It’s Ok.
Thanks.