07-17-2019, 01:10 AM
Can you please do a test for me?
In your ServerController:
- Cut all code in your OnNewSession event, including all comments and variables. Leave it only as:
procedure TIWServerController.IWServerControllerBaseNewSession(aSession: TIWApplication);
begin
end;
- Save the ServerController file again (the IDE should remove the empty OnNewSession event)
- Now, in Object Inspector, locate OnNewSession event and double click on it, creating a new empty event.
- Paste back the original code. The event should be linked again.
Rebuild your application and run it again. See if it fixes the issue
In your ServerController:
- Cut all code in your OnNewSession event, including all comments and variables. Leave it only as:
procedure TIWServerController.IWServerControllerBaseNewSession(aSession: TIWApplication);
begin
end;
- Save the ServerController file again (the IDE should remove the empty OnNewSession event)
- Now, in Object Inspector, locate OnNewSession event and double click on it, creating a new empty event.
- Paste back the original code. The event should be linked again.
Rebuild your application and run it again. See if it fixes the issue