INDY 10 TCP Server - Combine with non thread safe VCL Code

后端 未结 3 1714
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-14 03:22

VCL is not thread safe. Therefore I guess it is not a good idea to write information to the gui in the INDY 10 TCP server.execute(...) function .

How t

3条回答
  •  一向
    一向 (楼主)
    2021-01-14 03:41

    One simple PostMessage (inside the thread) and handling message (outside the thread) was necessary to make UI updates...

提交回复
热议问题