Jump to content

how to achieve a function on server side like TUniTimer work on clientside.


uniguibbs

Recommended Posts

  • 4 months later...

Try to write a service on the server.

 

YourService.OnExecute   ->  TTimer.Enabled:=True;

 

......................

 

Then TTimer.OnTime do whatever you want to do

 

I've seen this done for printing directly to the printer, backups or interfaces to other systems.

Link to comment
Share on other sites

Try to write a service on the server.

 

YourService.OnExecute   ->  TTimer.Enabled:=True;

 

......................

 

Then TTimer.OnTime do whatever you want to do

 

I've seen this done for printing directly to the printer, backups or interfaces to other systems.

 

Hi adragan, thanks for you prompt reply.

 

What do you mean by "service"? You mean a windows service, a separate application? I really need to execute my code inside the ServerModule, because the timer must send a keep-alive signal to a separate watchdog.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...