Is your application starting a browser or not doing anything at all?
The documentation (RoboHelp_CSH.h) says you can use -1 as first parameter to use IE. Does that help?
Thanks for the quick reply.
All the options I mentioned in my first post did not show any effect, no browser started.
I tried your suggestion with -1 in this way:
int i = RH_ShowHelp((HWND)-1, "C:/Users/username/Desktop/Controller/index.htm", HH_HELP_CONTEXT, 0);
That does not open a window either. Also tried this with my program running as administrator just in case.
Any more suggestions by any chance?
The suggestion you offer, opening a browser with the correct URL, is exactly the workaround I'm using now, doing a ShellExecute commando with the help page I want to open. Which works alright, but I was hoping to use the proper API received with the RoboHelp trial.
Is there another forum where I can ask this developer question?
Thanks for your help and thoughts so far.
If you are using the call for context sensitive help then you should also provide the mapno of the topic you want which is the fourth argument and it can not be zero.
If you want to open the First page of your WebHelp output then the third argument which is the command name should be HH_DISPLAY_TOPIC then fourth argument does not matter.
Please try the appropriate solution and revert if you face any problem.
I am in the same situation. Did you find any solution ?
Half the problem may be that you're trying to use Chrome with RH11 that may not be completely patched up with the latest browser security fixes.
I think that is irrelative with the problem. Any security problems of any browser has nothing to do with the simple calling of opening a an html page. In my case - and of course the original question problem - is that the MFC App fails to call the default browser to open an html page.
If I do this directly ie, using ShellExecute or Naviagate2 functions it works fine, but if you need the CSH API to open a specific page then it fails fails.
PS : Adobe needs to do a better job on this, we dont own nothing to spent hours and hours trying to find out how the heck this thing works.