Opening a CHM file produces: “navigation to the webpage was canceled”

前端 未结 9 1126
有刺的猬
有刺的猬 2020-12-04 16:26

I am trying to open a .chm file.

I downloaded the source, extracted it, and double clicked on Waffle.chm and clicked \"Open\" but no matter what element

9条回答
  •  情深已故
    2020-12-04 17:13

    I fixed this programmatically in my software, using C++ Builder.

    Before I assign the CHM help file, Application->HelpFile = HelpFileName, I check to see if it contains the "Zone.Identifier" stream, and when it does, I simply remove it.

    String ZIStream(HelpFileName + ":Zone.Identifier") ;
    
    if (FileExists(ZIStream))
        { DeleteFile(ZIStream) ; }
    

提交回复
热议问题