c++ - ShellExecute Does not open Default Web Browser -


the problem exe started service, , in exe gave call shellexecute open link. in case shellexecute open link in ie instead of default web browser.

i think when execute exe through service not run in user context not open link in default web browser.

can 1 me how open link in default web browser in case.

you need impersonate user account/context within service. use this link know how impersonate active user context in service.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -