Recent

Author Topic: [SOLVED] Is it possible to write an unsyncronized application with Lazarus?  (Read 2631 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1825
I mean, something is being done in background, while user is doing another job, and alerted when the background job is finished.
« Last Edit: August 23, 2018, 09:20:32 am by egsuh »


jamie

  • Hero Member
  • *****
  • Posts: 7891
Re: Is it possible to write an unsyncronized application with Lazarus?
« Reply #2 on: August 22, 2018, 03:06:00 pm »
look at the use of "TThread"

 Make yourself a class based from that, put your code in the Execution procedure.

 Any LCL code you execute needs to be done in the Synchronized method because that isn't
thread safe.

The only true wisdom is knowing you know nothing


egsuh

  • Hero Member
  • *****
  • Posts: 1825
Re: Is it possible to write an unsyncronized application with Lazarus?
« Reply #4 on: August 23, 2018, 09:20:08 am »
Got it. thank you for everybody.

 

TinyPortal © 2005-2018