Very odd - the lib file appears to be the same I'm using. Are you sure that
you've set the project settings correctly to actually link against the
library? In the Link tab, category Input: it should be listed in
Object/library modules, and the Additional library path: should have the
directory under which you've saved it (in my case, C:\local\vc98\HTML Help
If this doesn't help, you might want to enable "Print progress messages"
(under Link in the Customize category), to get a better idea of what the
linker is actually doing.
Hope this, er, helps....
> -----Original Message-----
> From: passwordsafe-devel-admin@...
> [mailto:passwordsafe-devel-admin@... Behalf
> Of J. Wren Hunt
> Sent: Tuesday, August 26, 2003 5:53 PM
> To: passwordsafe-devel@...
> Subject: [Passwordsafe-devel] HTMLHelp
> Hi! I know I'm doing something incredibly stupid and brain-dead,
> but I can't figure out how to get
> rid of the linker errors I get when linking the PasswordSafe
> files which call HtmlHelp().
> I get 9 errors like:
> PasskeyEntry.obj : error LNK2001: unresolved external symbol
> "void __cdecl
> HtmlHelp(int,char *,int,int)" (?HtmlHelp@...)
> I read the HOWTO article on MSDN "186907 - HOWTO: Set Up Visual
> C++ to Use the HTML Help API"
> and here's the details of the library I'm linking against:
> HTMLHELP LIB 34,904 05-24-00 9:24a
> And the prototype for HtmlHelp looks like:
> void HtmlHelp(int, char*, int, int);
> Is this the correct date/size of the library? Help! (Pun
> Intended!) Thanks in advance!