Subj : Re: Accessing WinHelp files from application To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Tue Feb 08 2005 09:52 am I can only guess about this. Under Win95 and above Winhelp.exe is a 16 bit shell that calls Winhlp32.exe, possibly with some parameters that identify the help file. Just to try to see what is going on try doing these two and see what the results are: WinExec("winhelp.exe help.hlp", SW_SHOW); WinExec("winhlp32.exe help.hlp", SW_SHOW); My guess is that it is not finding the help file and the generated error message is inappropriate for the actual error (not an uncommon occurance under Windows). Also try putting the full path in the help file name given to WinHelp (don't forget to double the backslashes and use short names). > The alternative would be to be able to use a compiled HTML > help file if there was an alternative to WinHelp(). I do not think *.chm files can be used in a 16 bit system. .. Ed > David Ayre wrote in message > news:4208cab5$1@newsgroups.borland.com... > > Tried that, but it doesn't work. I can run the Help file, but > can't use the WinHelp command e.g. > > WinHelp(hWnd,"help.hlp",HELP_CONTEXT,37); > I just get an error message saying "This file is not a windows > help file". I clear that and another box says "A newer version > of Help is needed to read this Help file". > > Any ideas? > > The alternative would be to be able to use a compiled HTML > help file if there was an alternative to WinHelp(). .