How to send a message to a TThread from main thread in Delphi?

前端 未结 3 1449
余生分开走
余生分开走 2021-02-04 16:17

I want to send a message to a thread and handle it in the thread. How can I do this in Delphi? I guess PostMessage is the way to go, but the examples I\'ve seen so

3条回答
  •  遇见更好的自我
    2021-02-04 16:45

    I won't even try and explain or write any code. Just look at this tutorial. It's a little old, but very good imho. Multithreading - The Delphi Way

提交回复
热议问题