Html help file(.chm file) not opening in VC++ using Visual Studio 2010 RRS feed

  • Question

  • I have ported my VC++ code from VC++ 6.0 to VC++ in Visual Studio 2010 on Windows XP both. There is a function to open HTML help file which is throwing error

    struct HWND__ * html_wnd = HtmlHelp ( 0, Path, NULL, NULL );

    This code is throwing error but if i replace code with

    struct HWND__ * html_wnd = ::HtmlHelp ( 0, Path, NULL, NULL );

    code is compiled successfully and not showing any error. But when I try to open help file by F1 it shows windows error message stating either .chm file is not a Windows file, or the file is corrupted.

    I want to ask if this is Windows Support problem or it should be coded differently??

    Wednesday, November 16, 2011 7:20 AM


  • You've posted in the Microsoft Project forum.  Suggest you repost on a more appropriate forum to get the help you seek.
    Wednesday, November 16, 2011 8:21 AM