How can i make a new thread for my plugin
Posted: Sun Aug 23, 2020 4:10 am
Hi
I develop a plugin which use the 'createprocess' to call the cmd for realizing the function,however when i use the 'waitforsingleobject' to monitor that if the cmd has exited,the program always become no responding,so i think that i should create new thread for the plugin,but i don't konw how to do that,if everyone know,please tell me!
Thanks a lot
Authur
I develop a plugin which use the 'createprocess' to call the cmd for realizing the function,however when i use the 'waitforsingleobject' to monitor that if the cmd has exited,the program always become no responding,so i think that i should create new thread for the plugin,but i don't konw how to do that,if everyone know,please tell me!
Thanks a lot
Authur