Using Windows' WinHelp in Java
Posted on 1997-09-03
I am a new Java programmer wanting to create a Java email application for use ONLY on the Windows platform. I want to create as part of it a Windows help function using the WinHelp compiler to create .hlp files.
What is the syntax for running a context-sensitive Windows help file from within Java?
I would use the following (apparently) in C:-
WinHelp(hwnd, "c:\myapp\myhelp.hlp", HELP_COMMAND, (DWORD)(LPSTR)"JI(`',`TOPIC_2')")
which loads the indicated Help file and executes the JI() macro to jump to the topic TOPIC_2 within that Help file.
I would much appreciate the Java version of the above.