Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HtmlHelp in multi-threaded app

HtmlHelp in multi-threaded app

Scheduled Pinned Locked Moved C / C++ / MFC
helphtmlquestion
3 Posts 2 Posters 21 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martin Speiser
    wrote on last edited by
    #1

    Hi! We have a multi-threaded application, and want to use HTML Help, so we link with htmlhelp.lib. And run in the error with the LIBCMT lib. I changed the project settings to ignore it. But doesn't this affect the multi-threading of the app? One solution mentioned in the MSKB is to link with hhctrl.lib. Okay, but where can I find it? Martin

    U 1 Reply Last reply
    0
    • M Martin Speiser

      Hi! We have a multi-threaded application, and want to use HTML Help, so we link with htmlhelp.lib. And run in the error with the LIBCMT lib. I changed the project settings to ignore it. But doesn't this affect the multi-threading of the app? One solution mentioned in the MSKB is to link with hhctrl.lib. Okay, but where can I find it? Martin

      U Offline
      U Offline
      User 1052
      wrote on last edited by
      #2

      I'm not sure if this will help, but we are using Html Help that calls up a .chm file and I just do a ShellExecute on hh.exe and pass it the appropriate page that is supposed to go to. I do this in the OnHelpInfo function for every dialog. If you need more information let me know. Carole ================== The original message was: Hi!

      We have a multi-threaded application, and want to use HTML Help, so we link with htmlhelp.lib. And run in the error with the LIBCMT lib. I changed the project settings to ignore it. But doesn't this affect the multi-threading of the app?

      One solution mentioned in the MSKB is to link with hhctrl.lib. Okay, but where can I find it?

      Martin

      M 1 Reply Last reply
      0
      • U User 1052

        I'm not sure if this will help, but we are using Html Help that calls up a .chm file and I just do a ShellExecute on hh.exe and pass it the appropriate page that is supposed to go to. I do this in the OnHelpInfo function for every dialog. If you need more information let me know. Carole ================== The original message was: Hi!

        We have a multi-threaded application, and want to use HTML Help, so we link with htmlhelp.lib. And run in the error with the LIBCMT lib. I changed the project settings to ignore it. But doesn't this affect the multi-threading of the app?

        One solution mentioned in the MSKB is to link with hhctrl.lib. Okay, but where can I find it?

        Martin

        M Offline
        M Offline
        Martin Speiser
        wrote on last edited by
        #3

        Hi Carole, thanks for your reply, but calling HtmlHelp via ShellExecute was not an option, because I want to handle it in one place, in CWinApp::WinHelp. But the problem is solved now. Downloading the newest version of the HTML Help Workshop from the microsoft site solved the problem. Martin

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups