M
Mike Bird
I have a From based application that does background work in a worker
thread. I want to update the form form the thread, however; the form and
control instance members are not thread safe. My idea for a solution was to
create my own custom windows message, P/Invoke SendMessage to send a message
to the form. What I can figure out is how to send anything other than two
integers of data. I need to send a string.
Anyone have any ideas on how I might do this?
Thanks
thread. I want to update the form form the thread, however; the form and
control instance members are not thread safe. My idea for a solution was to
create my own custom windows message, P/Invoke SendMessage to send a message
to the form. What I can figure out is how to send anything other than two
integers of data. I need to send a string.
Anyone have any ideas on how I might do this?
Thanks