The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: petezl on September 12, 2005, 09:41:30 AM

Title: How to open a help file
Post by: petezl on September 12, 2005, 09:41:30 AM
Hi,

How do you open a file such as a help.chm?
Tried the usual WinExec and ShellExecute without success but then realised that .chm files are not executables!

Peter.
Title: Re: How to open a help file
Post by: Tedd on September 12, 2005, 12:09:50 PM
"HH" is the application that opens .chm files :wink
ShellExecute with "hh <chm_file>" should open the given chm file. I'm sure there are other options, but "/?" doesn't give any help.
Title: Re: How to open a help file
Post by: ToutEnMasm on September 12, 2005, 12:39:26 PM
hello,
The better is to download editmasm in it's US version (recent ).
In declare.inc you will find F1keyPress PROTO ,right clic on it ,move to,and you will find the proc that provide a complete help system for html and hlp files.
                                              ToutEnmasm
Title: Re: How to open a help file
Post by: petezl on September 12, 2005, 01:12:32 PM
Thanks ToutEnmasm,

Tedd, Thanks for the quick reply!
So simple yet it had me going in circles late last night!
Works a treat!

Peter.