Mason Wheeler
Mason Wheeler

Reputation: 84550

Why does this help file that I downloaded from the Internet only contain blank pages?

I'm trying to debug come code that uses WINIO, but unfortunately I can't find any good explanation on what it's supposed to be doing. The standard download comes with a CHM helpfile, but just to add insult to injury, every page of the helpfile is blank!

enter image description here

Is there something wrong with the help file, or is it really meant to be full of empty pages?

Upvotes: 2

Views: 181

Answers (2)

Marco van de Voort
Marco van de Voort

Reputation: 26356

Since this is stackoverflow, here's a programmatical solution, in Delphi (from FPC's winutils unit)

procedure UnBlockFile(const name:String);
var f : file;
begin
 assignfile(f,name+':Zone.Identifier');
 rewrite(f,1);
 truncate(f);
 closefile(f);
end;

Upvotes: 0

David Heffernan
David Heffernan

Reputation: 612993

You've already got the documentation. It's that help file. But the help file was downloaded from the web and your computer knows this and doesn't want to show the HTML until you tell it to trust it.

Right click on the .chm file and select Properties.

enter image description here

Then click the Unblock button.

enter image description here

Then open the help file again and you can see the content.

enter image description here

Upvotes: 5

Related Questions