You are not logged in.
Hello.
I'm using mORMot with Firemonkey generated client code from crossplatform wrapper as blow:
function TMyService.GetData(out ACollect: TMyCollect): Boolean;
var res: TVariantDynArray;
begin
fClient.CallRemoteService(self,'GetData',2, // raise EServiceException on error
[],res);
ACollect.Free; // avoid memory leak
ACollect := TMyCollect.CreateFromVariant(res[0]);
Result := res[1];
end;
But when compile the client code, undeclared id "CreateFromVariant" is issued.
How can i find or create the CreateFromVariant function?
Last edited by bigheart (2015-07-14 01:09:57)
Offline