I use ShellExecute to open links from my program. It works fine, but not for all links. When the link has the hash sign (#), the link still opens, but not full (it's cut before the #). The code I'm using is:
ShellExecuteW(NULL, L"open", L"http://blablabla.com/something#something", NULL, NULL, SW_SHOWNORMAL);
I also tried:
ShellExecute(NULL, "open", "rundll32.exe", "url.dll,FileProtocolHandler http://blablabla.com/something#something",NULL,SW_SHOWNORMAL);
with the same result.
Does anybody know why this happens?