 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rowman Guest
|
Posted: Tue Feb 13, 2007 9:11 am Post subject: Threading Problem |
|
|
Hi,
I've been trying to create a thread that accesses a particular form
within the project. This thread works fine until I attempt to update
any component on the form such as a label and a progress bar.
The thread ussually executes if there is no call on an object on the
form. However the moment the thread attemtps to change an object on
the form (TLabel in this case) the thread pauses, until main is idle.
Now I'm not 100% why this is happening or how to solve the problem.
But have come across Single Apartment Threading term. Now I am not
sure if I am way off the mark here. But it seems like only one thread
can access the vcl objects at a time. So I saw something about free
threading model. Can someone please let me know if I'm off course
with
regards to the solution
And also help me out with the problem, please?
MANY THANKS
Rowan |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|