Article View: borland.public.cppbuilder.nativeapi
Article #550HtmlHelp() causing HtmlHelp.h and HtmlHelp.lib Linker Error Frustration
From: Chad
Date: Thu, 31 Jan 2008 20:54
Date: Thu, 31 Jan 2008 20:54
30 lines
1785 bytes
1785 bytes
Hello there, I have created a .chm file using the Microsoft HTML Help Workshop. I now want to have my C++Builder 2007 application display the .chm and a specific help topic. I have placed the HtmlHelp.lib in my lib folder and the HtmlHelp.h in my include folder that came with the Microsoft HTML Help Workshop. In my code: #include <htmlhelp.h> HtmlHelp(Handle,"my.chm",HH_HELP_CONTEXT,262); When I try to compile I get an Unresolved External on 'HtmlHelp'! So I must have the wrong versions of HtmlHelp.lib and HtmlHelp.h. I have tried the ones that came with Microsoft HTML Help Workshop. I have tried the ones that came with my install of C++ Builder 2007. I have tried using IMPLIB to create my own HtmlHelp.lib from my hhctrl.ocx. Does anyone else call on a .chm file using HtmlHelp()? Should I be doing this another way? Thank you for any help you can offer. Chad
Technical Details
Message-ID:
<47a23568$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92d2c845b4837055,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Chad" <crussell@betterprograms.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: HtmlHelp() causing HtmlHelp.h and HtmlHelp.lib Linker Error Frustration Date: Thu, 31 Jan 2008 13:54:00 -0700 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 71.208.191.105 Message-ID: <47a23568$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201812840 71.208.191.105 (31 Jan 2008 12:54:00 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail