I created a class derived from TThread that executes in background a query.
TThread
I want that this class is decoupled from the client.
This kind of th
What version of Delphi are you using? If you're on D2009 or newer, you can pass an anonymous method to Synchronize that takes no parameters but references local variables, passing them "under the radar" as part of the closure.
Synchronize