Hi All,
I am working on a project which involves reusing as well as migrating some of the existing MFC code to C#.
The current code in MFC, creates some threads and uses ::PostthreadeMessage() and ON_THREAD_MESSAGE(msg,func) for inter thread asynchronous communication through messages.
::PostthreadeMessage() -> sends a message to a particular thread id. ON_THREAD_MESSAGE(msg,func) -> calls the function(func) when a message(msg) is received.
Since i am not much aware of the threading interfaces in C#, i tried to search for similar API's in C#, but was not able to find any.
It would be great, if somebody can help me in finding the appropriate functions for this purpose in C#
Thanks, Harsha