How to Create Single Process in C++
-
Hi All, when I build visual studio to create exe file .Then I run exe file ,It will have a process . and I continue to run exe file again . Therefore i will have two process for exe file . How to Create Single Process in C++ ? I think we can check process currently if process exist we exit new process. I try to use singleton but i can not create single process. Do you have any way ? Thanks Thong LT
-
Hi All, when I build visual studio to create exe file .Then I run exe file ,It will have a process . and I continue to run exe file again . Therefore i will have two process for exe file . How to Create Single Process in C++ ? I think we can check process currently if process exist we exit new process. I try to use singleton but i can not create single process. Do you have any way ? Thanks Thong LT
Take a look at this: Avoiding Multiple Instances of an Application[^]
"Real men drive manual transmission" - Rajesh.
-
Take a look at this: Avoiding Multiple Instances of an Application[^]
"Real men drive manual transmission" - Rajesh.
Thank you a lot Thong LT