How to get thread handle with suspend/resume authority using CreateThread?
I need to create two threads in a dll project, one main and one menu. The main thread need to suspend and wakeup menu thread under certain conditions. The method I listed here does not work. I assume it is because the lack of authority in these thread handles. So the question is how to create thread handle with suspend/resume authority?