Jump to content

Moskw@

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by Moskw@

  1. Hello, I get a problem with running RestDebugger on my Windows 10 after it was updated. I get such error: and its stops (not working) It's weird and its on all version I have on my installed from Delphi XE8 to 10.4 . I also download free RestDebugger (tool from embarcadero web page and I get error too but it's bit different) Windows 10 Pro version: 20H2 compilation: 19042.746 Can someone confirm or know solution ? best regards Moskw@
  2. Moskw@

    RestDebugger.exe problem with run

    Thanks, I did not know that there is source code of RestDebugger. I found the problem. One of the files (mru.dat) in user directory for RestDebugger was corrupted or its to big - not sure. I fix it and its working now (I get the data I need). best regards Marcin
  3. Did You install new PAServer on Mac after installing path on Delphi machine? If You have diffrent version of PAServer on the "Delphi Machine" and "IOS Simulator Machine" it will not work.
  4. Hello, did you install new version of PAServer on both computers (is the same version on both)? best regards Moskw@
  5. Moskw@

    How to read a table every x time.

    Hello, do not use sleep in background services, Android can think that Your service is not working (especially in energy save mode) and try to kill. Instead of this use for example : const cTimeInterval = 30000; var aLastTime : TDateTime; begin aLastTime := Now(); // use aLastTime := Now()-1; (whatever to start imiditly) while true do begin if (MilliSecondsBetween(Now(),aLastTime)>=cTimeInterval) then begin aLastTime := Now(); // do somethink there end; end; end; if You need to have time interval counting after to do something move aLastTime := Now(); after work you need to make. For me works better if I create that in new Thread in service. while true do - you can change to do somethink to brake loop if you need best regards Moskw@
×