I have created a c++ program that install also a firefox extension. So, to get this extension works, he need to restart firefox.
So, how can I ask to restart firefox while the user is using it ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This kind of looks like a duplicate to this question: winapi – How can I get a process handle by its name in C++. Essentially, what you’d be looking to do is “find” the process “firefox.exe” (in place of “target.exe”) and if finding it is successful, you put up a warning dialogue box to close firefox and re-open. If not, you just continue with the install or whatever. Hope this helped!