I am using Delphi 7 and would like to know if it is possible to read variables that exist in the Thread that is instantiated, from the main code. If so, how should I declare these variables in the threaded code.
N.B my main code is in unit1.pas, and the thread code in unit2.pas for example.
Thanks.