Help File
-
compile your help files using HTMLHelp Workshop, so that you got the *.chm ready. Then in your method to serve the help menu item, just add: HWND hwnd = ::HtmlHelp(this->m_hWnd, szBuff, 0, HH_DISPLAY_TOPIC); to display the help file. remember to include the #include and the library.
-
compile your help files using HTMLHelp Workshop, so that you got the *.chm ready. Then in your method to serve the help menu item, just add: HWND hwnd = ::HtmlHelp(this->m_hWnd, szBuff, 0, HH_DISPLAY_TOPIC); to display the help file. remember to include the #include and the library.
Thanks for the help but unfortunately I am getting a Linker error saying
Linking... MainFrm.obj : error LNK2001: unresolved external symbol _HtmlHelpA@16 Debug/MDI2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. MDI2.exe - 2 error(s), 0 warning(s)
I copied the htmlhelp.h file to the VC98 include directory and copied the htmlhtlp.lib file to th eVC98 lib directory. Also I my .cpp I included like #include "htmlhelp.h" What am I Doing wrong ? Please help -
Thanks for the help but unfortunately I am getting a Linker error saying
Linking... MainFrm.obj : error LNK2001: unresolved external symbol _HtmlHelpA@16 Debug/MDI2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. MDI2.exe - 2 error(s), 0 warning(s)
I copied the htmlhelp.h file to the VC98 include directory and copied the htmlhtlp.lib file to th eVC98 lib directory. Also I my .cpp I included like #include "htmlhelp.h" What am I Doing wrong ? Please helpdid you reference the HTMLHEML.lib file in your projects link settings? You need to actually reference the lib in your project, otherwise the linker will not know that it needs to link that file in. Hit Alt + F7 then go to the link tab. In the "Object/Library Modules" edit field add HTMLHelp.lib and that should fix your problems.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life! -
did you reference the HTMLHEML.lib file in your projects link settings? You need to actually reference the lib in your project, otherwise the linker will not know that it needs to link that file in. Hit Alt + F7 then go to the link tab. In the "Object/Library Modules" edit field add HTMLHelp.lib and that should fix your problems.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life! -
compile your help files using HTMLHelp Workshop, so that you got the *.chm ready. Then in your method to serve the help menu item, just add: HWND hwnd = ::HtmlHelp(this->m_hWnd, szBuff, 0, HH_DISPLAY_TOPIC); to display the help file. remember to include the #include and the library.