An Outgoing Call Cannot be Made Since the Application is Dispatching an Input-Synchronous Call
1.The program is running a thread that is then trying to access a VCL element. The thread's terminate event handler is calling Application.ProcessMessages or Errmsg, or some other VCL control.