I want to run a process in my Delphi application so that it will not wait for a particular function execution during the processing.

I want to run a process in my Delphi application so that it will not wait for a particular function execution during the processing.

This Function has been written as part of this process, as it is mail sending function and takes long time to send mail we don't want to wait for this function execution.

Any help would be appreciated.

Comments

  1. arup saha
    I only subscribed this post.

    ReplyDelete
  2. A thread as mentioned is a good path. Depending on the system overall architecture you could also have a service that takes care of mailing.

    ReplyDelete

Post a Comment