skip to main content

Library Routines : $WINHELP

$WINHELP
The $WINHELP library routine provides a number of functions to manage Windows Help files.
This routine interfaces with the Windows APIs (for hlp files) and hh.exe (for chm files) and therefore, it is not supported on Operating Systems other than Windows.
Microsoft stopped including the 32-bit Help file viewer in Windows releases beginning with Windows Vista and Windows Server 2008. To support customers who still rely on legacy .hlp files, the Microsoft Download Center provides Help file viewer downloads for Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2.
Syntax:
 CALL "$WINHELP" USING helpFile 
Parameters:
Return code:
returnCode can be any signed numeric data item. The meaning depends on the opcode.
Examples:
Example - Display the contents of a Windows Help file contained in the help.hlp file
working-storage section.
copy "iscoblib.def".
77  path-help      pic x(255).
procedure division.
   move "c:\myapp\mydocs\help.hlp" to path-help
   call "$winhelp" using path-help , help-contents.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left