superobject
superobject copied to clipboard
No longer compatible with Delphi 7
The latest version is no longer compatible with Delphi 7,
In "supertimezone" there's "Generics.Collections" in the uses section. Also the definition of the "TSuperTimeZone" class is not backward compatible.
Has anyone addressed this? I would like to use this in a legacy Delphi 7 application,
However if this project is no longer going to support Delphi 7 I completely understand the situation
Get commit b0b774bd784a1ac6146003b200d3bb67811beebb
Same problem occurs in Delphi 2007
I use the version of superobject in delphi-rest-client-api
I had the compatiblity problem with delphi 7 too.
As a quick and dirty bugfix, I removed superdate.pas and supertimezone.pas from the project.
Change in superobject.pas // varDate: Result := TSuperObject.Create(DelphiToJavaDateTime(vDate)); //function TryObjectToDate(const obj: ISuperObject; var dt: TDateTime): Boolean;
Seems to work fine.