🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8976

Re: Microsoft HtmlHelp API

#8976
From: Daniel Stevenson
Date: Thu, 26 Aug 2004 00:18
55 lines
3080 bytes
Here's something from the HTML workshop....

 "WARNING: The .lib file that ships with the HTML Help and Platform SDK is
not
  suitable for use with C++ Builder. If you try to use it you'll get the
following
  error when building your application:

  [Linker Error] 'E:\USER FILES\..\HTMLHELP.LIB' contains invalid OMF
record, type 0x21 (possibly COFF)

  The linker is correct, the .lib file is in COFF format which C++ Builder
can not
  handle. You'll need to generate your own .lib file using the implib
utility that
  ships with C++ Builder. Goto the winnt\system32 directory (or wherever you
have
  installed HTML Help) and execute the following command:

  implib htmlhelp.lib hhctrl.ocx

  This will generate a C++ Builder compatible .lib file that you'll need to
add to
  your project. Now when you build your application everything should work
fine.
  Note that this example already ships with a .lib file generated from the
HTML
  Help library version 4.74.8793 If you're using a different version you may
want
  to replace the .lib file with one you've imported yourself using the
command
  described above."

this will get you the correct .lib file, as to getting it showing, there is
some working examples within the HTML workshop files which show you the
different ways of loading and displaying the help files.

"Ray Wynn" <raywynn@avlsystems.com> wrote in message
news:40cd4dfc@newsgroups.borland.com...
> Looking at using the Microsoft HtmlHelp, but I can't work out how to call
> Microsofts htmlhelp.lib. I keep getting external function not found
> messages. I downloaded the Microsoft files did as they said and no joy. I
> noticed on the web and Borland site several references to implementing
> HtmlHelp for Delphi. I even found a working demo on the net for Builder
only
> to discover it was a custom htmlhelp.lib about 10% of the Microsoft
library
> derived from an earlier Delphi construct.
>
> Anyone had success using the Microsoft HtmlHelp and the know how? Or has
the
> world of Program Help become a Microsoft enhancement-feature-extension!
> Currently using C++Builder 6.
>
>
Technical Details
Message-ID: <412d2c53$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40cd4dfc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9ec6545e1eebd143
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Daniel Stevenson" <d.stevenson@ocreage.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40cd4dfc@newsgroups.borland.com>
Subject: Re: Microsoft HtmlHelp API
Date: Thu, 26 Aug 2004 10:18:31 +1000
Lines: 57
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 202.174.228.150
Message-ID: <412d2c53$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093479507 202.174.228.150 (25 Aug 2004 17:18:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail