Skip to main content
kathleen_bylsma
Participating Frequently
May 11, 2015
Answered

FM12 and RH11. I am selecting publish>Microsoft HTML Help. I get the updated .chm file, but not the .h file. I have added all the CSH markers. Why no .h (header) file?

  • May 11, 2015
  • 1 reply
  • 595 views

FM12 and RH11. I am selecting publish>Microsoft HTML Help in FM12. I get the updated .chm file, but not the .h file. I have added all the CSH markers. Why no .h (header) file?

This topic has been closed for replies.
Correct answer Jeff_Coatsworth

Just played around with it – no, it appears that you have to create your own .h file if you go the FM12 Publish route. I would advise using the linking function in TCS5 to link your source FM files to a RH project; then when you need to publish a new version of help output, you just do an “Update All” from the RH end of things and your help is created along with a .h file that you can pass to the developers. If you don’t have TCS, then you can import FM content into RH to create the help output and .h file; but the down-side is that when you change your FM content, you have to throw the RH project away (just keep and create an .isf file to partially reuse) and suck the content in again fresh.

1 reply

Inspiring
May 12, 2015

The <document name>.h file is not automaticallly generated. It is created and named by you, and its contents need to be of the form:

#define <map ID> <map number>

...where map ID is the name you specify for the CSH marker.

...and map number is the UID that the software developers have assigned to a given control.

Talk to the software developers and ask them to give you the resource.h file that they are using in the project. This contains the full list of GUI controls and their UIDs.

Once you see that file, you'll see what you need to do. If the names in their resource.h file are difficult to understand, then you'll have to ask them for more specifics.

Jeff_Coatsworth
Community Expert
Community Expert
May 12, 2015

Sometimes it goes the other way too – you give the developers the map file.

Have a look around for the BSSCDefault.h file – that’s what the system creates in a TCS scenario coming over from FM to RH.