Recent

Author Topic: REST Dataware Componentes  (Read 15745 times)

bpranoto

  • Full Member
  • ***
  • Posts: 103
Re: REST Dataware Componentes
« Reply #30 on: December 01, 2020, 04:30:46 pm »
Error on compiling uDWDataset:

I tried to install the package resteasyobjectscore V1.9.6.9 and get errors on uDWDataset.pas

Code: Text  [Select][+][-]
  1. uDWDataset.pas(5693,31) Error: range check error while evaluating constants (42 must be between 0 and 39)
  2. ...

The offending lines:
Code: Pascal  [Select][+][-]
  1. {$WARNINGS OFF}
  2.       TFieldType(dwftLongWord): FData[I] := LongWord(AValue);
  3.       TFieldType(dwftShortint): FData[I] := Shortint(AValue);
  4.       TFieldType(dwftByte): FData[I] := Byte(AValue);
  5.       TFieldType(dwftExtended), TFieldType(dwftSingle):
  6.         FData[I] := AValue;
  7.       TFieldType(dwftTimeStampOffset): FData[I] := TDateTime(AValue);
  8. {$WARNINGS ON}
  9.  

fpc v: 3.2.0
lazarus v: 2.0.10
o/s: ubuntu 18.04 64bits
« Last Edit: December 01, 2020, 04:33:30 pm by bpranoto »

shayneoneill

  • Newbie
  • Posts: 2
Re: REST Dataware Componentes
« Reply #31 on: July 25, 2021, 05:49:23 am »
Did you ever find a solution for the " Error: range check error while evaluating constant" problem? I've ben trying to figure out how to install this thing, and yeah, lack of english anything (I do see theres a tutorial now in english, that will help a *lot*) is bit of a show stopper.

 

TinyPortal © 2005-2018