Software Archive
Read-only legacy content

Help Files

takis
Beginner
704 Views
How can one , call a .chm topic from an .f90 file ?
If this cannot be done , is it possible to call a browser to display an .htm file
instead ?
0 Kudos
3 Replies
Jugoslav_Dujic
Valued Contributor II
704 Views
There is (relatively new) HTMLHelp api. Usage is relatively simple (similar to WinHelp):

HWND HtmlHelp(HWND hwndCaller, LPCSTR pszFile, UINT uCommand, DWORD dwData);


See Win32 help (HTMLHelp API reference) for details. Fortran interface may or may not exist depending on your CVF version (it's almost surely there in 6.6, don't know about earlier). Even if it doesn't, I'm about to convert existing .hlp to .chm for my app on CVF5.0D, so I'll put .f90 header file on my home page within a week or so.

HTH
Jugoslav
0 Kudos
Intel_C_Intel
Employee
704 Views
Two that I've tried:
(1)use ShellExecute,
(2)use the Common Dialog ActiveX Control with the showhelp method.
-Ken
0 Kudos
Jugoslav_Dujic
Valued Contributor II
704 Views
The header file is there if you're still interested (untested). You have to use .lib which comes with HTML Help Workshop.

Jugoslav
0 Kudos
Reply