how to let a multitask thread call function in main thread
Posted on 2001-09-11
I have a CFormview sdi app activating a thread. Inter-thread communication is done through sharing of global data utilizing CCriticalsection.
suppose my thread is mythreadfunc(), which is forever running in background.
in mythreadfunc() function body, how do i call a function in my view class?
myviewfunc() is a public function in CMyView---my view class
and i want
can anybody post some code? or a link to a sample?