I have a DataSnap Server with a Server method like this:
function TServerMethods1.Get_Excel_History(key: string): TByteDynArray;
Now, on the DataSnap Client using TSQLServerMethod, I successfully connect to the server in Design Mode, and I'm sending the request to Server and successfully receiver the data but can not read the output parameter.
M.SqlServerMethod1.Close;
M.ClientDataSet_All.Close;
M.SqlServerMethod1.ServerMethodName:='TServerMethods1.Get_XML_History';
M.SqlServerMethod1.Params.ParamByName('key').Value:=Edit1.Text;
M.SqlServerMethod1.ExecuteMethod;
ByteDynArray_Result:=M.SqlServerMethod1.Params.ParamByName('ReturnParameter').As???????;
How can i read the type of TByteDynArray? Thank you in advance.