I am trying to open a query string URL with ShellExecute in C++ using the Windows API. When I specify the browser executable path, everything works as expected: the browser opens and the query string URL is handled correctly. However, when I do not specify the browser executable path, it should open with the default browser, but the query string is not handled correctly, browser opening but in the link I still can see the query string.
Has anyone encountered this issue when using ShellExecute?
Thank you.
I tried also to use other function like SHELLEXECUTEEX but still have the same result.
Arsen Aramyan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.