Are there any workaround if this is the case? The server must be automatic to process all request.
Use WaitForSingleObject. For a nice example, check the first answer on this
stackoverflow linkI came across this
Timer that seems to be another possible solution.
Also, if a timer is already enabled and a Timer.Enabled:= true is called, the interval is supossed to restart?
No, according to the source code:
procedure TCustomTimer.SetEnabled (value : boolean);
begin
if (Value <> FEnabled) then
begin
FEnabled := value;
UpdateTimer;
end;
end;
The new value has to be different to cause any change.
Edit:
Corrected the method. Thanks Taazz.
@Mike.Cornflake, thank you. I fell for this mistake twice, deleting my posts instead of modifying them. This time it did upset me enough to modify a browser extension to remove the Delete Button.