Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reconnect TIWimer
#11
Yes, latest IW 15 changed the behavior.

You should update, not only because of it, but because it contains hundreds of fixes and enhancements.

You can try the attached file on IW 14. 
- Rename your original IWData.res (you probably have one copy for each platform - e.g. you will find one copy inside each folder Delphi 10.3 x86 and Delphi 10.3 x64). 
- Save the attached IWData.res to the same folder(s)
- Build your application
Reply
#12
I purchased the IW 15.0.21
Set IWServerController.JavaScriptOptions.AjaxErrorMode := emNone.
Put a TIWTimer on the form, and just showing the time on the page (in OnAsyncTimer event ).
When i disconnect Ethernet cable - time is frizzing, if i connect Ethernet cable again, the timer does not continue its work, time does not go.
What am I doing wrong ?
Reply
#13
The attached demo shows that it works as expected. Can you please try it?


Attached Files
.zip   IWTimerAsyncRecover.zip (Size: 58.07 KB / Downloads: 5)
Reply
#14
(06-03-2019, 01:35 AM)Alexandre Machado Wrote: Yes, latest IW 15 changed the behavior.

You should update, not only because of it, but because it contains hundreds of fixes and enhancements.

You can try the attached file on IW 14. 
- Rename your original IWData.res (you probably have one copy for each platform - e.g. you will find one copy inside each folder Delphi 10.3 x86 and Delphi 10.3 x64). 
- Save the attached IWData.res to the same folder(s)
- Build your application

Alexande,
I would need a restarting IWTimer after a failed ajax get too.
I work with IW14.2.13, you wrote to try attached file on IW 14, I would love to, can't see the IWData.res file attached
thanks a lot
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)