V
Vladimir
May be it's not obvious what am i asking for...
I have 2 threads in my application.
The first thread responds for the user interface and sending key
combinations,
the second thread listening keyboard messages from keyboard hook. There is a
report in interface, and i need to send incoming key combinations to it.
But adding items in visual report is not appropriate by the second (hook)
thread.
I know, i can use asynchronous delegate to send message to report, but in
that case this will be done by thread that is not equals interface thread.
Can i just call report method, but in interface thread?
But i need it not only in forms... There is a queue, the hook thread is
enqueuing messages to it. And i need to ask a second thread process it. How
can i do this?
I have 2 threads in my application.
The first thread responds for the user interface and sending key
combinations,
the second thread listening keyboard messages from keyboard hook. There is a
report in interface, and i need to send incoming key combinations to it.
But adding items in visual report is not appropriate by the second (hook)
thread.
I know, i can use asynchronous delegate to send message to report, but in
that case this will be done by thread that is not equals interface thread.
Can i just call report method, but in interface thread?
But i need it not only in forms... There is a queue, the hook thread is
enqueuing messages to it. And i need to ask a second thread process it. How
can i do this?