Author Topic: modified Win32.chm  (Read 9326 times)

0 Members and 1 Guest are viewing this topic.

John

  • Hero Member
  • *****
  • Posts: 3607
Re: modified Win32.chm
« Reply #15 on: May 08, 2015, 03:39:31 AM »
I think the ideal code based documentation should be a Bitbucket repository. The wiki uses industry standard markdown formating and code examples along with user contribution could be added to the source tree. Trying to do it in a Mediawiki format will take a lifetime and no portability to speak of.


Mike Lobanovsky

  • Admin Support Member
  • *****
  • Posts: 1948
Re: modified Win32.chm
« Reply #16 on: May 08, 2015, 11:31:02 AM »
Hi Marc,

This is a good question. But as it happens, now I have an answer to it. :)

The old help file seems to have a set of Quick Info popup window data that belongs to topics which didn't make it into that particular file and have no mention (cross-reference) in either the help contents tree or any other topic included in the file. Such topics obviously were Microsoft's legacy OpenGL 1.1 software renderer driver, deprecated early DirectX interfaces, and probably a few others.

All the missing files that I found have a __QI suffix in them. The keywords they belong to have no cross-reference to any other topic in the file, cannot be found by extended search in either the .HLP or .CHM version, and for all intents and purposes are dead data. (See an example in the attached snapshot)

On default, MS HTML Help Workshop ignores the files that have not a single cross-reference elsewhere in the project (starting from the contents tree) and compiles them into the resultant .CHM only if explicitly forced to do so; there's a dedicated [FILES] option in the .HHP project file for this purpose.

I didn't find any information in these files that may be of interest or help to a casual user in the year of 2015. Therefore, I didn't enforce MS HTML Help Workshop to include any dead data into the resultant .CHM file this time, while my older compilation contained a [FILES] section of all the 16K topics found in the decompiled 50MB .RTF content file.

So, in my opinion it would be reasonable to dismiss this matter as it is really not an issue. There's no real reason in storing the dead data that you wouldn't be able to access, and especially so if the said data is of very questionable value at present times.

Anyway, thanks for bringing this matter to my attention. I hope you're satisfied with my findings. :)

.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

marpon

  • Newbie
  • *
  • Posts: 7
Re: modified Win32.chm
« Reply #17 on: May 21, 2015, 09:25:10 AM »
@ Mike
Sorry to not reply before, I had problems with my old Notebook hard disk...

Very good answer, the win32.hlp file was done with plenty of dead topics , specially for the quickinfo popup boxes, i've also checked the cross-references,
so  I aggree completly with your position, killing what is not convenient.

I've done the same from my side, but obvously your full text search stop list file (.stp) is much more efficient than mine, and your size is 700 kb  smaller than my test.

Could you please , post your .stp file , it will be convenient for me for others Chm files ...

Thanks in advance

Marc


Aurel

  • Sr. Member
  • ****
  • Posts: 402
Re: modified Win32.chm
« Reply #18 on: April 12, 2019, 05:49:51 AM »
Yoo
I don't know why but i recently have problems with  .chm files.
One one computer with win7ultimate 32 bit work but after reinstall NOT.
On another with win7 home version i think not work too.
I tried also my son on win 10-64bit and again nothing..

i just recieve stupid errror:
 
my site:BLOG and FORUM
https://aurelsoft.ucoz.com/

Arnold

  • Hero Member
  • *****
  • Posts: 872
Re: modified Win32.chm
« Reply #19 on: April 12, 2019, 09:32:08 AM »
Hi Aurel,

I think .chm files are associated with hh.exe which is located in c:\windows. But this should already happen when Windows is installed. This can be checked by right-clicking on a .chm file. A popup should open with a menuitem: Open with >  and then an option similar like: Executable Microsoft HTML-Helpfile. If this does not work then perhaps something is missing with the accessing rights. There should be more information available in Internet, e.g.:

https://borncity.com/win/2018/06/05/windows-may-2018-update-blocks-viewing-chm-files/

But I myself did not encouter problems with .chm files until now.

Aurel

  • Sr. Member
  • ****
  • Posts: 402
Re: modified Win32.chm
« Reply #20 on: April 12, 2019, 10:37:35 AM »
Hi Arnold
and thanks for reply
hh.exe is there same as hhctrl.ocx
but i simply cannot open any .chm file
update of windows is disabled

error is mk:@MSIStore ?
my site:BLOG and FORUM
https://aurelsoft.ucoz.com/

Arnold

  • Hero Member
  • *****
  • Posts: 872
Re: modified Win32.chm
« Reply #21 on: April 12, 2019, 03:04:04 PM »
I searched in Internet for:   
  :@MSIStore
or
  :@MSIStore +chm
and I found some links regarding troubles with opening chm files, but I do not know if any of the messages would be a solution to your problem.

Mike Lobanovsky

  • Admin Support Member
  • *****
  • Posts: 1948
Re: modified Win32.chm
« Reply #22 on: April 13, 2019, 12:23:11 AM »
A highly likely cause why HH.exe refuses to open a particular .CHM file may be that the file has been downloaded from the net. Since a lot of .CHM files contain precompiled executable scripts in order to perform their advanced functions, and may thus contain malicious code, the OS blocks their execution just like it would block any other executable (.EXE) binary or MS Office .DOCX documents (those often contain VBA executable code in their embedded macros).

If the downloaded .CHM file comes from a known trusted source and you want or need to open it by all means, you have to unblock it first. Right-click on the file icon and select Properties at the bottom of the popup menu. This will open a File Properties dialog in the bottom part of which you will see a security warning about the file having been downloaded from the Internet, and a button called Unblock. Click that button and then click Apply in the File Properties dialog, and there you go with your .CHM file unblocked for reading by HH.exe or HHCtrl.ocx.

This procedure also applies to any other file (.EXE, DOCX, etc) that comes from the net and is therefore blocked for execution by the OS.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

John

  • Hero Member
  • *****
  • Posts: 3607
Re: modified Win32.chm
« Reply #23 on: April 13, 2019, 01:08:36 AM »
Funny how Windows 10 sees the VB6 IDE as a foreign invader.  :)

Aurel

  • Sr. Member
  • ****
  • Posts: 402
Re: modified Win32.chm
« Reply #24 on: April 13, 2019, 01:47:22 AM »
yes Mike you have a right
BUT
what if I don't have Unblock button ?
so what then?

yes there is no Unblock button in my case and i cannot figured why?
that is a stupid problem.

By the way i have chm files from original CD-s which also not work,, >:(
my site:BLOG and FORUM
https://aurelsoft.ucoz.com/

Mike Lobanovsky

  • Admin Support Member
  • *****
  • Posts: 1948
Re: modified Win32.chm
« Reply #25 on: April 13, 2019, 02:10:45 PM »
Once the file is unblocked, its File Properties dialog won't show the button or warning note any more. This means you are already done unblocking them, or they haven't been downloaded from the net at all.

Frankly, I don't know what else might be causing such a strange behavior. Are your .CHM files associated with HH.exe at all?
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Aurel

  • Sr. Member
  • ****
  • Posts: 402
Re: modified Win32.chm
« Reply #26 on: April 13, 2019, 11:09:12 PM »
 .CHM files associated with HH.exe at all?

-yes Mike it is of course.
I never have such a problem on any of my computer before.
my site:BLOG and FORUM
https://aurelsoft.ucoz.com/

Arnold

  • Hero Member
  • *****
  • Posts: 872
Re: modified Win32.chm
« Reply #27 on: April 14, 2019, 02:02:08 AM »
Hi Aurel,

as Mike has already stated, everything should work if .chm files are correctly associated. Did you try to open a console window (cmd) and open a chm file directly? If this does not work then something is indeed wrong. I learned that there is an update for Windows 10 of April 9th which could cause some problems. I do not know if .chm files are affected. But I have setup my computer for installing updates automatically, I trust that everything will go well afterwards.

« Last Edit: April 14, 2019, 03:18:25 AM by Arnold »

Aurel

  • Sr. Member
  • ****
  • Posts: 402
Re: modified Win32.chm
« Reply #28 on: April 14, 2019, 07:10:01 AM »
Hi Arnold
Ok i tried and again nothing.  >:(

It looks that i must reinstall windows 7 on this comp >:(
« Last Edit: April 14, 2019, 10:21:01 AM by Aurel »
my site:BLOG and FORUM
https://aurelsoft.ucoz.com/