The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ToutEnMasm on September 17, 2010, 04:44:50 PM

Title: using ms-xhelp in an aplication
Post by: ToutEnMasm on September 17, 2010, 04:44:50 PM
Hello,
The sample would work on XP,Vista,Win 7.
It show essential code (made a F1 on enumwindows).
If you haven't this last help system,do nthing.
If someone could confirm it work on Vista and Win 7,this will be very good.
Help SDK http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=94ab4784-b7c3-49ac-a315-9688bc5c84c3
See masm forum windows.inc project for include files (ready to use sdk)


Title: Re: using ms-xhelp in an aplication
Post by: jj2007 on September 17, 2010, 04:53:27 PM
The exe does nothing on XP, and cannot be assembled because you forgot to add the include files.
Title: Re: using ms-xhelp in an aplication
Post by: ToutEnMasm on September 17, 2010, 05:04:37 PM

If you haven't "C:\Program Files\Microsoft Help Viewer\v1.0\HelpLibAgent.exe"
This is normal
The first thing he do is to find a value in:
Quote
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Help\v1.0 Value=LocalStore
Not found , exit
Title: Re: using ms-xhelp in an aplication
Post by: GregL on September 17, 2010, 11:00:16 PM
ToutEnMasm,

Yes it works for me on my laptop with Windows Vista. I got an EnumWindows Function help screen in my browser. I'll try it on Windows 7 too.

This has some potential.  :thumbu
Title: Re: using ms-xhelp in an aplication
Post by: Gunner on September 17, 2010, 11:03:15 PM
Nothing on Win7 32
Title: Re: using ms-xhelp in an aplication
Post by: GregL on September 17, 2010, 11:09:08 PM
ToutEnMasm,

Same here, it's not working on Windows 7 Pro 64-bit.
Title: Re: using ms-xhelp in an aplication
Post by: sinsi on September 18, 2010, 12:27:17 AM
With Win7 the registry value is "AppRoot", not "LocalStore". Changing it brings up the help as expected.
Very nice work!
Title: Re: using ms-xhelp in an aplication
Post by: ToutEnMasm on September 18, 2010, 07:33:44 AM

Thanks at all for the help
I have made the modify needed for win7,AppRoot instead off LocalStore