flare

ShellExecute fails for local html or file URLs

放肆的年华 提交于 2019-12-07 09:18:43
问题 Our company is migrating our help systems over to HTML5 format under Flare. We've also added Topic based acces to the help systems using Flare CSHID's on the URI command line for accessing the topic directly, such as index.html#CSHID=GettingStarted to launch the GettingStarted.html help page. Our apps are written in C++ and leverage the Win32 ShellExecute() function to spawn the default application associated with HTTP to display the help system. We've noticed that ShellExecute() works fine

ShellExecute fails for local html or file URLs

怎甘沉沦 提交于 2019-12-05 18:16:42
Our company is migrating our help systems over to HTML5 format under Flare. We've also added Topic based acces to the help systems using Flare CSHID's on the URI command line for accessing the topic directly, such as index.html#CSHID=GettingStarted to launch the GettingStarted.html help page. Our apps are written in C++ and leverage the Win32 ShellExecute() function to spawn the default application associated with HTTP to display the help system. We've noticed that ShellExecute() works fine when no hashtag is specified, such as ShellExecute(NULL,_T("open"),_T("c:\Help\index.html"),NULL,NULL,SW