|
WinDev 5.5 - using CHM-Help instead of WinHelp (.HLP files) Overview: WinDev 5.5 contains a WHelp(...) command. WHelp commands of WinDev 5.5 work with .HLP-files only. With Windows XP, Microsoft introduced .CHM Help files (= compressed HTML) as a new standard for all help file authoring. Starting with Windows Vista, .HLP files were discontinued - you have to install an addition to Windows in order to be able to open a topic of a .HLP help file! - In WinDev 5.5 WHelp(“MyHelpFile.hlp”,1234) points to help topic 1234 of a Windows Help File (WinHelp).The command WHelp(..) of WinDev 5.5 will definitely not work on a .CHM help File! - If you want to make .hlp help files work on a certain Windows Vista / Windows 7 computer together with your unaltered WD5.5-application then you can use instructions in http://support.microsoft.com/kb/917607/en-us in order to make any application using .hlp help files work on that specific computer. - If you want to use a .chm help file from a WinDev 5.5 application then you can open any topic withDDEStart(fShortPath("HH.EXE")+" -mapid 240 MyProjectHelp.chm",DDEActive,True)this example will open topic 240 of help file MyProjectHelp.chmCopy HH.EXE (part of the M$ Help SDK) to the project’s directory and, of course, install it to the program’s directory on customer’s computers! - For testing: from console or from Start .. Execute you can open any help topic of a .chm help file withHH.EXE -mapid 1234 MyHelpFile.chm - you’ll find a good intro to help files and opening topics here:http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm
|