roni wrote:
how can i execute a delegate on the thread that created the object ?
(the object is not control, but im looking somthing like the
control.invoke , but to my object)
I think that's not possible. Control.Invoke() sends a window message to the
control, the message gets picked up in the control's message loop and gets
handled from there. If you have a simple object but no Control or Form, you
have no message loop and thus can't do that.
If you only want to signal another thread that it should start doing
something, you can use the Manual- or AutoResetEvent or Monitor classes.
hth,
Max