When compiling the WEB Core demo's with FNC UI components 2.4.0.0 (for example: TMSWeb_FNCGrid) with version 1.0.5.3 of WEB Core, there is always a compilation error:
"[Error] WEBLib.TMSFNCUtils.pas(1675): Cannot access this member from a class":
"{$IFDEF FNCLIB}class function TTMSFNCUtils.ParseJSON(AJSON: string): TJSONObject;{$IFDEF LCLLIB}varjs: TJSONData;{$ENDIF}beginResult := nil;try{$IFDEF LCLLIB}js := GetJSON(AJSON);if Assigned(js) thenResult := js as TJSONObject;{$ELSE}--> Result := TJSONObject.ParseJSONValue(AJSON) as TJSONObject;{$ENDIF}exceptend;end;"
When looking at the declaration of TJSONObject in WEBLib.JSON, this seems to be a logical error:
"TJSONObject = class(TJSONValue)privatefjo: TJSObject;protectedproperty jo: TJSObject read fjo write fjo;publicconstructor Create(AObject: TJSObject); overload;property JSObject: TJSObject read fjo;--> function ParseJSONValue(const data: string): TJSONValue;function GetJSONValue(Name: string): string;function Get(Name: string): TJSONPair;function GetValue(const Name: string): TJSONValue;end;"
ParseJSONValue is a normal public function but not a class function...
Any solution?