Thanks Danijel. Issue solved!
I'm working through the samples and begin to understand the logic of your components.
Looking powerful, congrats...
After solving this issue I proceed with mixing some shown features and I come to this one...
Server is running and listening...
Launching the Client I push a Login button invoking this
procedure TFormLogin.Btn_LoginClick(Sender: TObject);
begin
with RtcClientModule do
begin
with Data.newFunction('Login') do
begin
asString['name'] := UserName.Text;
end;
Call(RtcResult);
end;
end;and get an exception when debugging on:
function TRtcDataClient.RequestCount: integer;
begin
FCS.Acquire; <- here
try
if assigned(FRequestList) then
Result:=FRequestList.Count
else
Result:=0;
if assigned(FActiveRequest) then
Result:=Result+1-FRequestSkipped;
finally
FCS.Release;
end;
end;It seems that no active request is present and I compared the settings with your demos. Running the compiled file doesn't give me an exception, but doesn't also call the function.
In the client I have HTTPClient, a ClientModule and a Result
In the server I have a HTTPServer, a ServerModule, a FunctionGroup and the Function
Thank you for introducing me and sorry for al this simple questions
Regards
M.