My application uses ZModem protocol for communication.
From main thread, I am created second thread for progess bar. So, main thread is working on communication and second thread is for extra work. They are communicated through global variable.
If they are on same thread then main windows communication will be blocked.
Now, because of two thread they cannot uses DoModal()
with each other.
What can i do for DoModal()
this two thread or there is any option for doing it on one thread but communicating same way?