Help Array Generator Utility

.

Download program

This is a utility (no code) that will generate help arrays in the format required for MSVC applications to support context-sensitive help.

I don't know if you're like me, but when it comes to doing tedious work, I get bored quickly, especially when it comes to creating help arrays for applications.

I don't know if there's a utility out there, but I finally sat down and created a program that will take your resource files (resource.h, resource.hm) and generate the required array to support context help via your app for each of your dialog box resources.

The following shows the output of the utility.

// Add To Your Include File
// Implementation
protected:
  static DWORD m_dwHelpMap[];
// End Include

DWORD CYourClassName::m_dwHelpMap[] = {
 IDD_ABOUTBOX, HID_HELP,
 0, 0
};

DWORD CYourClassName::m_dwHelpMap[] = {
 IDD_GRAMMARFILE, HID_HELP,
 IDC_GRAMMARFILE, HIDC_GRAMMARFILE,
 IDC_SRENGINE, HIDC_SRENGINE,
 0, 0
};

Then basically all you have to do is copy each section to the appropriate .cpp file, and change the class name accordingly and hopefully hours cut down on what i was doing of copying and pasting individual resource IDs and making the array manually.

Hopefully this will help out fellow programmers with some of the more mundane stuff.

Updated 27 March 1998



Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • With the average hard drive now averaging one terabyte in size, the fallout from the explosion of user-created data has become an overwhelming volume of potential evidence that law-enforcement and corporate investigators spend countless hours examining. Join Us and SANS' Rob Lee for our 45-minute webinar, A Triage and Collection Strategy for Time-Sensitive Investigations, will demonstrate how to: Identify the folders and files that often contain key insights Reduce the time spent sifting through content by …

Most Popular Programming Stories

More for Developers

RSS Feeds