I am trying to make a multithreaded application in which a background thread performs some calculations while the main window shows a graph of the data. Each time the background thread finishes an iteration, it must return the results to the main window.I understand that for this I should use Synchronize in the thread in the background, but where in the main thread should I put something so that this one finds out that the data arrives?
Thanks, that works.. but now MyForm.pas(130,28) return : "Error: Variable identifier expected " in Synchronize(@MyMethod)