• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

C++ .Net 2.0 supported in RH7?

Guest
Feb 15, 2008 Feb 15, 2008

Copy link to clipboard

Copied

I am working with my developer to integrate a CHM with our desktop application. Our application is written in C++ .Net 2.0

We want to call the RH7 Map IDs; Use custom markers from FM8 imported into RH7 as CSH map IDs.

In RH7, Adobe supplies an API for C++ .Net at C:\Program Files\Adobe\Adobe RoboHelp 7\CSH API\RoboHelp.NET

Their documentation (supplied as a CHM file) specifies C++ .Net, but I cannot tell if this is still usable with C++ .Net 2.0

Can we use their supplied API?

Views

418

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 15, 2008 Feb 15, 2008

Copy link to clipboard

Copied

.net is .net. Even if it is used for .net 1.0, you should be able to call the functions from 2.0, 3.0, and 3.5.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 16, 2008 Feb 16, 2008

Copy link to clipboard

Copied

LATEST
Aran,

As anubisascends says, I don't believe that your developers need to use more than the standard .NET methods for calling .chm files; no third-party API is required. Information for .NET developers on how to attach .chm files to their applications is widely available in places such as the following:

http://msdn2.microsoft.com/en-us/library/aa983560.aspx
http://www.mshelpwiki.com/wiki/tiki-index.php?page=HTMLHelpArticles
http://helpware.net/mshelp2/demo2/h1xNET.htm

With .NET 2.0, I believe that Microsoft corrected an oversight in earlier versions of .NET and provided a HelpNavigator.TopicId value for passing context integers to .chm files. The syntax is something like this:

Help.ShowHelp( hwndCaller, CHM_file_path, HelpNavigator.TopicId, context_integer);

For more information, see:

http://msdn2.microsoft.com/en-us/library/72b0cc4y(VS.85).aspx

An alternative is to use "unmanaged" code to call the HTML Help API directly, as described in the following article:

http://support.microsoft.com/?kbid=317406

Then the developer can use HH_HELP_CONTEXT commands to pass context-integers to your help file.

Pete

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp